Permissions

Translate Unix file permissions between octal and symbolic, and read back what each bit actually allows.

Runs in your browser — nothing you type here is sent anywhere.
Mode
755
octal
-rwxr-xr-x
Bits
whoreadwriteexecoct
user7
group5
other5
special
Result
octal755
four digit0755
symbolic-rwxr-xr-x
chmodchmod 755 file
chmod symbolicchmod u=rwx,g=rx,o=rx file
$ ls -l
-rwxr-xr-x  1 chance  staff  file
Meaning

ownerread, write and execute

groupread and execute

othersread and execute

The execute slot doubles as the special-bit slot: lowercase s or t means the execute bit is set as well, uppercase means it is not. Paste a line straight out of ls -l — trailing @, + and . markers are ignored.

`644` and `rw-r--r--` are the same thing, and most people can convert the common ones from memory and then hesitate on the rest. The setuid, setgid and sticky bits are where hesitation turns into a security problem.

Enter either form and get the other, with each of the nine permission bits spelled out for owner, group and others, plus a note when a special bit is set. It is the fastest way to check that a deploy script is not about to make something world-writable.

What people open it for

In the terminal

chmod 644

Every utility is also a command in the desktop's shell.

More systems tools

Open the full desktop, with all 47 utilities