Chmod Calculator (Linux File Permissions)
Convert Linux/Unix file permissions between octal (755) and symbolic (rwxr-xr-x), see what owner, group and others can do, including setuid, setgid and the sticky bit.…
Convert Linux/Unix file permissions between octal (755) and symbolic (rwxr-xr-x), see what owner, group and others can do, including setuid, setgid and the sticky bit. Also works out default permissions from a umask.
Results
About This Calculator
Each digit is the sum of read (4), write (2) and execute (1) for the owner, the group and everyone else. 7 = rwx, 6 = rw-, 5 = r-x and 4 = r--.
An optional fourth digit in front sets the special bits: 4 = setuid, 2 = setgid and 1 = sticky (used on /tmp). The umask is subtracted from 666 for new files and from 777 for new folders.
Example
Example: 755 is rwxr-xr-x. The owner can read, write and execute, and everyone else can read and execute. A umask of 022 gives new files 644 (rw-r--r--), folders 755 (rwxr-xr-x).
Assumptions
Standard POSIX permission bits. ACLs and SELinux labels are separate and not shown.
Frequently Asked Questions
What does chmod 755 mean?
Owner rwx, group r-x, others r-x. It's the usual setting for scripts and web folders.
What does chmod 644 mean?
Owner rw-, group r--, others r--. It's the usual setting for ordinary files.
Is chmod 777 safe?
Rarely. It lets every user change or replace the file.
Related Calculators
About the Author

Professional SEO, Digital Marketer Specialist
I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist
View full profile