The chmod values admins use most often. Download: CSV · JSON.
| Octal | Symbolic | Typical use |
|---|---|---|
| 400 | r-------- | Owner read only (private keys) |
| 600 | rw------- | Owner read/write (SSH keys, secrets) |
| 644 | rw-r--r-- | Standard file: owner write, everyone read |
| 664 | rw-rw-r-- | Owner and group write, others read |
| 666 | rw-rw-rw- | Everyone read/write (avoid) |
| 700 | rwx------ | Owner full access only (~/.ssh) |
| 740 | rwxr----- | Owner full, group read |
| 750 | rwxr-x--- | Owner full, group read/execute |
| 755 | rwxr-xr-x | Standard executable/directory |
| 775 | rwxrwxr-x | Shared group-writable directory |
| 777 | rwxrwxrwx | Everyone full access (avoid) |
| 1777 | rwxrwxrwt | Sticky bit directory (/tmp) |
| 2775 | rwxrwsr-x | Setgid shared directory |
| 4755 | rwsr-xr-x | Setuid executable (e.g. passwd) |