CHMOD Calculator

Work out the correct chmod numeric and symbolic notation for Linux file and directory permissions in seconds.

Permissions

RolerwxOctal
Owner (u)7
Group (g)5
Others (o)5
Special bits:
Presets:

Result Output

Octal (3-digit)
755
Octal (4-digit, incl. special)
0755
Symbolic
-rwxr-xr-x
Command
chmod 755 file
Umask (to create this mode: file 0666 · dir 0777)
022 / 022
Explanation
Owner (u): read, write, execute · Group (g): read, execute · Others (o): read, execute

Numeric input

Type an octal mode (e.g. 755, 4755) and the grid updates.

Symbolic input

Apply a symbolic mode to the current bits: u+x, g-w, a=r, ug+w, u=rwx,go=rx

Paste ls -l

Paste an ls -l line — permission string and file type are extracted.

0–7 Reference

OctalSymbolicMeaning
0---no permissions
1--xexecute only
2-w-write only
3-wxwrite + execute
4r--read only
5r-xread + execute
6rw-read + write
7rwxread + write + execute

Special bits: 4 = setuid (owner's x → s/S), 2= setgid (group's x → s/S), 1= sticky (others' x → t/T). Uppercase = bit set without execute.

Infinio Tools
© 2026 Infinio Labs