|
Symbolic mode is the
easiest mode for people to read because it uses letters to symbolize
the permissions that are being changed and the groups to which those
permissions are applied. Symbolic mode is a little slower than octal
mode though because it requires more typing on the command line.
Command Format
chmod mode
filename
Symbolic mode
consists of three parts : who, operations and permission.
Who uses four
symbols:
|
Who
|
Meaning
|
|
u
|
To
change file owner (user) permission
|
|
g
|
To
change group permission
|
|
o
|
To
change other permission
|
|
a
|
To
change all of the above
|
Operation is:
| Operation
|
Meaning |
| + |
To
add a permission |
| - |
To
remove a permission |
| = |
To
explicitly set a permission |
Permissions
may be a combination of:
| Permission |
Meaning |
| r |
For
read permission |
| w |
For
write permission |
| x |
For
execute / search permission |
Note: there are
examples of this command on the next page.
|