About the Chmod Calculator
Linux permissions are set for the owner, the group and everyone else, each with read, write and execute bits. This calculator converts between the checkbox view, the octal number used by chmod and the symbolic string shown by ls -l.
How to use
- Tick the permissions you want, or type an octal value such as 755 or 2775.
- Copy the chmod command, the octal value or the symbolic string.
Frequently asked questions
What do 755 and 644 mean?
755 gives the owner read, write and execute and everyone else read and execute (typical for directories and scripts). 644 gives the owner read and write and everyone else read only (typical for files).
What is the fourth digit, like in 2775?
The leading digit sets special bits: 4 = setuid, 2 = setgid, 1 = sticky. 2775 makes new files in a directory inherit its group.