Skip to content

How Chmod Calculator works

Check the permission boxes for owner, group and everyone else, or type an octal mode like 755 or a symbolic string like rwxr-xr-x. The octal, symbolic form and a ready-to-paste chmod command update together, with a plain-language explanation.

Maps each permission triple to a 3-bit value (4 read, 2 write, 1 execute) and a leading digit for setuid (4), setgid (2) and sticky (1). Special bits without execute display as uppercase S or T.

Questions

What does chmod 755 mean?
The owner can read, write and execute. Everyone else can read and execute. It is the usual mode for programs and directories.
What is the sticky bit?
On a directory, it lets only a file's owner delete or rename it. It is the leading 1 in 1777, used for shared temp directories.
Why is chmod 777 discouraged?
It lets any user on the system modify the file. Prefer the narrowest mode that works.
Can I paste output from ls -l?
Yes. A 10 character string like -rwxr-xr-x is accepted and the file type character is ignored.

More Generate tools

All the tools · How to check that nothing is sent

Chmod Calculator: Octal and Symbolic Permissions | Only in the Tab