15 Replies Latest reply on Oct 29, 2008 7:16 AM by bderks01

    FTP put doesn't update remote permissions

    srauh Level 1
      I'm using Dreamweaver CS3 and am having trouble with uploading new files to my sites. This worked fine in Dreamweaver 8 so I'm pretty sure it's a problem in CS3.

      When publishing new files (images, html, php or folders) the files are pushed to the remote server but the permissions are not updated. Switching to remote view and manually changing permissions on the files always works but it should work when I publish them and not require another step.

      As I said, this worked fine in Dreamweaver 8. As a matter of fact, I still have Dreamweaver 8 installed and it still works fine. Is there a fix for this in CS3?


      Stuart
        • 1. Re: FTP put doesn't update remote permissions
          Level 7
          I'm not sure what problem you are describing. DW would not be expected to
          change any file permissions.

          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.dreamweavermx-templates.com - Template Triage!
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
          ==================


          "srauh" <webforumsuser@macromedia.com> wrote in message
          news:fakm53$orc$1@forums.macromedia.com...
          > I'm using Dreamweaver CS3 and am having trouble with uploading new files
          > to my
          > sites. This worked fine in Dreamweaver 8 so I'm pretty sure it's a
          > problem in
          > CS3.
          >
          > When publishing new files (images, html, php or folders) the files are
          > pushed
          > to the remote server but the permissions are not updated. Switching to
          > remote
          > view and manually changing permissions on the files always works but it
          > should
          > work when I publish them and not require another step.
          >
          > As I said, this worked fine in Dreamweaver 8. As a matter of fact, I
          > still
          > have Dreamweaver 8 installed and it still works fine. Is there a fix for
          > this
          > in CS3?
          >
          >
          > Stuart
          >


          • 2. Re: FTP put doesn't update remote permissions
            srauh Level 1
            For example...
            Create a new folder in the site, right click and select 'Put' from the menu. After the folder is created on the remote server, the user has read, write and execute permissions but group and world have no access at all. For folders the user should have read, write and execute and World should have read and execute.

            Something similar is happening to me with new files I'm uploading from Dreamweaver CS3. World should have read access but it doesn't.

            If I switch to remote view in the sites menu, right click on the files and select "Set Permissions", Dreamweaver CS3 will set them and all is well. As I said before, Dreamweaver 8 did this without my having to go through the "Set Permissions" process. Something changed in the new version.

            Stuart
            • 3. Re: FTP put doesn't update remote permissions
              Level 7
              It's not DW that is doing this. Talk to your host.

              --
              Murray --- ICQ 71997575
              Adobe Community Expert
              (If you *MUST* email me, don't LAUGH when you do so!)
              ==================
              http://www.dreamweavermx-templates.com - Template Triage!
              http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
              http://www.dwfaq.com - DW FAQs, Tutorials & Resources
              http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
              ==================


              "srauh" <webforumsuser@macromedia.com> wrote in message
              news:fakr33$134$1@forums.macromedia.com...
              > For example...
              > Create a new folder in the site, right click and select 'Put' from the
              > menu.
              > After the folder is created on the remote server, the user has read, write
              > and
              > execute permissions but group and world have no access at all. For
              > folders the
              > user should have read, write and execute and World should have read and
              > execute.
              >
              > Something similar is happening to me with new files I'm uploading from
              > Dreamweaver CS3. World should have read access but it doesn't.
              >
              > If I switch to remote view in the sites menu, right click on the files and
              > select "Set Permissions", Dreamweaver CS3 will set them and all is well.
              > As I
              > said before, Dreamweaver 8 did this without my having to go through the
              > "Set
              > Permissions" process. Something changed in the new version.
              >
              > Stuart
              >


              • 4. Re: FTP put doesn't update remote permissions
                srauh Level 1
                The problem with that conclusion is that Dreamweaver 8 works fine!!! Right now, on the same machine, on the same site, Dreamweaver 8 works. Doesn't that indicate that Dreamweaver CS3 is doing something differently?

                What explanation do you have for the older version working but the newer one does not?
                • 5. Re: FTP put doesn't update remote permissions
                  Level 7
                  > What explanation do you have for the older version working but the newer
                  > one
                  > does not?

                  I can only tell you this - DW doesn't mess with file permissions.

                  --
                  Murray --- ICQ 71997575
                  Adobe Community Expert
                  (If you *MUST* email me, don't LAUGH when you do so!)
                  ==================
                  http://www.dreamweavermx-templates.com - Template Triage!
                  http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                  http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                  http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
                  ==================


                  "srauh" <webforumsuser@macromedia.com> wrote in message
                  news:famns3$559$1@forums.macromedia.com...
                  > The problem with that conclusion is that Dreamweaver 8 works fine!!!
                  > Right
                  > now, on the same machine, on the same site, Dreamweaver 8 works. Doesn't
                  > that
                  > indicate that Dreamweaver CS3 is doing something differently?
                  >
                  > What explanation do you have for the older version working but the newer
                  > one
                  > does not?
                  >


                  • 6. Re: FTP put doesn't update remote permissions
                    eunice07
                    Hi Murray, And I'm laughing when I mail my response to you (na not really), I wish I had your command of English to be so precise. However, I'm intrigued as I have now noticed there is such a thing as Set Permissions on the Remote Site, and so I would be interested to have your explanation as to how that option is intended to be used.
                    • 7. Re: FTP put doesn't update remote permissions
                      Level 7
                      I use that when I want to use a server-scripted page to write information
                      into a folder on the remote site. For example, if I am creating a page that
                      allows you to UPLOAD a file to the website, then that page will need to
                      write that file into the destination folder on the site. The default
                      permission for a folder on the web is one that doesn't normally allow such
                      writing to occur (in *nix terms it's 755, which means that the folder can be
                      written by the owner, but not by the group or by the world). I would need
                      to change that permission to '777' which means that the folder can be
                      written into by everyone, and I can often use DW's set permissions menu
                      option (the one you describe) to do that. Depending on the host, that may
                      not work - in that case, I would need to contact the host and ask them to
                      make this change for me.

                      Make sense?

                      --
                      Murray --- ICQ 71997575
                      Adobe Community Expert
                      (If you *MUST* email me, don't LAUGH when you do so!)
                      ==================
                      http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                      http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                      ==================


                      "eunice07" <webforumsuser@macromedia.com> wrote in message
                      news:fgps4a$1q$1@forums.macromedia.com...
                      > Hi Murray, And I'm laughing when I mail my response to you (na not
                      > really), I
                      > wish I had your command of English to be so precise. However, I'm
                      > intrigued as
                      > I have now noticed there is such a thing as Set Permissions on the Remote
                      > Site,
                      > and so I would be interested to have your explanation as to how that
                      > option is
                      > intended to be used.
                      >

                      • 8. Re: FTP put doesn't update remote permissions
                        eunice07 Level 1
                        HI Murray, Just popped back into the Form and yes in general that was really useful info and I am sure others more knowledgeable than I will get some benefit from it too.

                        Thanks :)
                        • 9. Re: FTP put doesn't update remote permissions
                          Level 7
                          You're welcome.

                          --
                          Murray --- ICQ 71997575
                          Adobe Community Expert
                          (If you *MUST* email me, don't LAUGH when you do so!)
                          ==================
                          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                          ==================


                          "eunice07" <webforumsuser@macromedia.com> wrote in message
                          news:fgqqb2$9f6$1@forums.macromedia.com...
                          > HI Murray, Just popped back into the Form and yes in general that was
                          > really useful info and I am sure others more knowledgeable than I will get
                          > some benefit from it too.
                          >
                          > Thanks :)

                          • 10. Re: FTP put doesn't update remote permissions
                            immts
                            Dreamweaver most definitely needs to have some facility for setting default global upload permissions. I don't think I've ever seen an FTP or SFTP client that didn't. It needs this in order to override the default umask settings on unix user accounts which on a secure system are likely going to be set to 007. Changine the umask server side is an option, but not one that makes sysadmins very happy.
                            • 11. Re: FTP put doesn't update remote permissions
                              srauh Level 1
                              I've done more testing on this issue since I first started the thread. It seems that the permission problem arrises if I use SFTP. Using standard FTP works fine. This was not the case in DW8. It worked correctly in both FTP modes.

                              Stuart
                              • 12. Re: FTP put doesn't update remote permissions
                                bderks01
                                Stuart - we're having the exact same issue with CS3 and SFTP. DW is setting it's own file permissions for any new files uploaded over SFTP. Did you ever find a resolution?
                                • 13. Re: FTP put doesn't update remote permissions
                                  srauh Level 1
                                  No, I never did find a solution to this trouble except to continue using standard FTP. You can see from the thread that I was unsuccessful in convincing anyone that something changed in DW CS3. Here's hoping CS4 changes it back!

                                  Stuart
                                  • 14. Re: FTP put doesn't update remote permissions
                                    bderks01 Level 1
                                    Yep, it's definitely a known and common issue for anyone using SFTP, I've been reading up on it on various sites all day looking for a solution. Isn't it nice having to pay for Adobe to fix things that are broken?
                                    • 15. Re: FTP put doesn't update remote permissions
                                      bderks01 Level 1
                                      Don't bother upgrading to CS4 if you're hoping this issue is solved...it's not. Way to go Adobe.