Welcome to WebmasterWorld Guest from 188.8.131.52 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Pubcon Platinum Sponsor 2014
chmod quick question Doood msg:915444 3:24 pm on Oct 12, 2004 (gmt 0) Does chmod a+w = 777 and chmod a-w = 666 ?
I understand that 666 is -rw-rw-rw- but is it also a-w? I don't understand that part.
I'm just trying to change the chmod in ftp instead of the command line.
drbrain msg:915445 4:25 pm on Oct 12, 2004 (gmt 0)
a+w adds write ability to user, group, and other.
a-w removes write ablility from user, group and other.
"alphabet" format modifies permissions of existing files, while the "numeric" format overwrites permissions.
[ ...] hmug.org Doood msg:915446 8:43 pm on Oct 12, 2004 (gmt 0)
This is for a file in a script and the instructions for it said to do it from the command line but if you don't have access you can do it from ftp, so I figured a-w or 644 was pretty much the same thing. Seemed to work the same.