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.
Deploy Cloud VPS →
Linux Security Reference

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.

PermissionOctal ValueSymbolicFile EffectDirectory Effect
Read4 (2^2)rView file contentList files in directory (ls)
Write2 (2^1)wModify or truncate fileCreate/delete files in directory
Execute1 (2^0)xRun file as program/scriptEnter directory (cd)
Sysadmin Knowledge Base

Frequently Asked Questions