chmod calculator

Tick permissions or type an octal value to get the chmod command and the symbolic rwx string.

OwnerGroupOthers

rwxr-xr-xSymbolic
chmod 755Command

Full explanation of this mode →

How chmod numbers work

Each digit is the sum of read (4), write (2) and execute (1) for one class: owner, group, others. 7 = 4+2+1 = rwx, 5 = 4+1 = r-x, 6 = 4+2 = rw-, 4 = r--.

DigitPermissionsSymbolic
0none---
1execute--x
2write-w-
3write + execute-wx
4readr--
5read + executer-x
6read + writerw-
7read + write + executerwx

Most used modes

Browse every mode in the chmod permissions table.

Frequently asked questions

What does chmod 755 mean?
Owner can read, write and execute; group and others can read and execute. It is the usual mode for directories and scripts.
What is the difference between 644 and 755?
644 has no execute bits, which suits regular files. 755 adds execute for everyone, needed for programs and for entering directories.