April 2005
Intermediate to advanced
720 pages
24h 28m
English
Unix includes a command for setting file or directory permissions: chmod. Although this command can be a bit complicated, it is important. The security of your files and subdirectories depends on its proper usage.
The chmod command uses the following syntax:
chmod mode file ...
The complex part of the chmod command is understanding what can go in the mode operand. This is where you specify the owner (also called user), group, and other (everyone else) permissions. You have two ways to do this: numerically and symbolically.
✓ Tip
You can learn more about the chmod command by viewing its man pages. In the Terminal window, type man chmod and press .
Numeric permission modes ...
Read now
Unlock full access