At 07:27 -0500 02-10-2003, Dale Critchley wrote: > My site is run by a friend on OS X. For some reason, anything that gets > uploaded defaults permissions to 640. I tried setting upload permissions, > setting folder permissions, and even the umask command via command line. > Apparently, the umask command will work, but it has to be redone each > session, and I don't think DreamWeaver can do that, and I don't want to do > all my FTP via command line, plus I think it's messing up some Perl scripts > that need to make files. > > Anyway, anyone know what's wrong or how to permanently default uploaded > files to 755?
I had the same problem originally when uploading files to my computer at home. I fixed it by doing the following: in the directory /etc create a new file called ftpd.conf (if it's not already there). In this file put the following line: umask all 022 save the file. It should belong to owner root and group wheel. This should fix the default permissions. By the way there is a Dreamweaver extension called Set Permissions, that works like most regular set file permission functions in regular FTP clients. It's by Jay London. Here's the url at the Macromedia Exchange: <http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn120#view=sn104&viewName=Extension%20Details&loc=en_us&authorid=13654190&page=0&scrollPos=0&subcatid=0&snid=sn104&itemnumber=0&extid=15201&catid=0> If that won't work (Macromedia's site is crap) try a search or holler and I'll email a copy. HTH, Harold. -- http://www.haroldbakker.com Dreamweaver extensions, PHP, movies, sillyness It's here: The pet that rocks the world of Mac OS X: http://www.virtualpetrock.nl -- Mac Webmasters is sponsored by <http://lowendmac.com/> and... Small Dog Electronics has Lasso, Filemaker, and FileMaker Server on Sale! High Technology for low prices. http://www.smalldog.com Support Low End Mac <http://lowendmac.com/lists/support.html> Mac Webmasters info: <http://lowendmac.com/lists/macweb.shtml> --> AOL users, remove "mailto:" Send list messages to: <mailto:[EMAIL PROTECTED]> To unsubscribe, email: <mailto:[EMAIL PROTECTED]> For digest mode, email: <mailto:[EMAIL PROTECTED]> Subscription questions: <mailto:[EMAIL PROTECTED]> List archive: <http://www.mail-archive.com/mac.webmasters%40mail.maclaunch.com/> Using a Mac? Free email & more at Applelinks! http://www.applelinks.com
