Hi. I saw a small amount of discussion on the problem and was wondering if there's a fix (or workaround?) for the problem of Dreamweaver CS6 incorrectly setting file permissions on some files when uploading?
It's happening pretty regularly for me—about half the time I upload files, the permissions are set incorrectly to 7XX (I can't remember exactly), so I have to manually check every file and change about half to 644.
Any help would be appreaciated.
(DW 12.0 on OSX 10.8, connecting to Apache shared servers)
I don't know if the permissions problem is fixed as I never experienced it. But Adobe released a critical update a few days ago that addresses many FTP issues.
I'm bumping this thread because DW 12.0 is still intermittently setting permissions incorrectly for files uploaded to remote servers.
Today it set a JPG to '0' and a PDF to '1'. Previously I think I'd only seen 7xx when it set permissions incorrectly.
The hosting setup of today's issue was pretty different to the last time I had this happen, so I can't see any real similarity on that end (Australian-based shared cPanel hosting vs U.S. based VPS hosting). Plus these issues have only started since upgrading to CS6 (and Mountain Lion).
I did install the update listed above, which I presumed to have fixed the issue, but it turns out not be the case.
This issue has plagued us for a very long time. Old versions of DW, I think 4 and earlier, there was a command window where you could enter the umask command to set things properly. I believe umask should be set to 022.
Our admins tell us they has sftp setup correctly and this change is set at the client side. This is certainly true for sftp. If we were allowed to ssh in then things would be different.
We've been using FileZilla to set permissions and traverse a directory tree to set proper permissions. What a pain, but it is a workaround for now!
DW - please bring back the command window!
The issue I was complaining about has since been fixed in an update. Dreamweaver now appears to do an extra step when uploading that (to me) seems like the final thing it does after uploading is double check to make sure the permissions are set correctly. Could be rubbish--and I could be reading way too much into it--but at any rate, uploads from Dreamweaver are trustworthy again, which is a huge relief.
Rubbish I say Nathan. No offense. We are not seeing any attempt at Dreamweaver 12.0 Build 5861 setting permissions after uploading. What version of DW are you using and is there a preference you had to set somewhere? Also, are you copying your files via sftp? Just wanted to double-check.
Yeah, maybe. Just going by what I'm noticing. 'Finishing Put Operation' seems to take longer than before and the permissions issue hasn't cropped up for me since the update to 12.1. And just plain ol' ftp, btw.