August 1999
Intermediate to advanced
1000 pages
83h 9m
English
/usr/bin/chmod [-fR] absolute-mode file... /usr/bin/chmod [-fR] symbolic-mode-list file...
Use the chmod (change mode) command to change the mode of a file. The mode of a file specifies its permissions and other attributes. You can specify the mode in one of two ways: absolute or symbolic.
You specify an absolute mode in octal numbers by using the following syntax:
chmod nnnn file... where n is a number from 0 to 7. You construct an absolute mode from the OR of any of the following modes:
| 4000 | Set user ID on execution. |
| 20#0 | Set group ID on execution if # is 7, 5, 3, or 1. Enable mandatory locking if # is 6, 4, 2, or 0. For directories, create files with ... |
Read now
Unlock full access