homepage Welcome to WebmasterWorld Guest from 54.166.123.2
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
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)

No.

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.

See chmod(1):
[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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved