Chmod Calculator
Calculate Unix file permissions in octal, symbolic, and command format
Read (4)
Write (2)
Execute (1)
Owner
Group
Other
Octal
755
Symbolic
rwxr-xr-x
Command
chmod 755 filename
| Octal | Symbolic | Description |
|---|---|---|
| 644 | rw-r--r-- | Default file — owner reads/writes, others read only |
| 755 | rwxr-xr-x | Default directory / executable — owner full, others read + execute |
| 777 | rwxrwxrwx | Full access for everyone (avoid in production) |
| 600 | rw------- | Private file — owner only reads/writes |
| 400 | r-------- | Read-only for owner (e.g., SSH keys) |
| 750 | rwxr-x--- | Owner full, group read + execute, others none |
| 700 | rwx------ | Owner full access only |
| 666 | rw-rw-rw- | Read/write for everyone, no execute |