Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'chmod -R a+rwX' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
chmod -R a+rwX
Authored by: Anonymous on Mar 14, '01 09:25:40AM

chmod -R a+rwX

-R Recursive. Change subdirectories and files in those subdirectories.
a Give these permissions to All users (as opposed to u=yourself, g=your group, o=others, everyone else)
+ Grant the following permissions (- to take permissions away)
r Read permission
w Write permission
X Permission to eXecute a program or open a directory, if one user already has this permission. (Lowercase x sets execute permission no matter what)

So regular files get rw permission for everyone (aka 666), and directories, which are presumably set +x for the person that created them, are set rwx for everyone (aka 777).

[ Reply to This | # ]