Octal • Symbolic • Special Bits (SetUID/GID)
Linux Chmod Permissions Calculator
Interactive Linux file permissions converter. Instantly translate between octal numbers, symbolic strings, and terminal commands.
Calculated Linux Permission
755(rwxr-xr-x)
Owner (User)7
Group5
Others (Public)5
Special Permissions (Advanced):Prefix: 0
chmod 755 /var/www/html
Production Best Practice (Separate Dirs vs Files):
find /var/www/html -type d -exec chmod 755 +
find /var/www/html -type f -exec chmod 644 +
Hardened Linux Server Environments on AZBrand VPS
100% root SSH access with NVMe Gen4 storage, DDoS mitigation, and unmetered bandwidth from $3.99/mo.
Understanding POSIX File Permissions
In Linux and Unix file systems, every file and folder has an access control matrix consisting of three permission types applied across three entity scopes.
| Permission | Octal Value | Symbolic | File Effect | Directory Effect |
|---|---|---|---|---|
| Read | 4 (2^2) | r | View file content | List files in directory (ls) |
| Write | 2 (2^1) | w | Modify or truncate file | Create/delete files in directory |
| Execute | 1 (2^0) | x | Run file as program/script | Enter directory (cd) |
Sysadmin Knowledge Base