chmod
Octal and symbolic permissions, in both directions
rw-r--r--
| who | read | write | execute |
|---|---|---|---|
| owner | |||
| group | |||
| other |
octal0644
symbolicrw-r--r--
chmod commandchmod 644 <file>
chmod symbolicchmod u=rw,g=r,o=r <file>
common
An uppercase S or T in the symbolic form means the special bit is set but the matching execute bit is not — usually a mistake.