chmod Calculator

Unix permissions, three ways in sync

Toggle read, write, and execute for owner, group, and other. The checkbox grid, the octal value, and the symbolic string all stay in sync, and every one of them is editable. Special bits (setuid, setgid, sticky) are supported as a leading fourth octal digit. Nothing leaves this page.

Permission grid
Read (4)Write (2)Execute (1)
Owner
Group
Other
Values (edit any of them)
chmod 000 filename
Common presets
What each permission means
r (read, 4)
View file contents, or list the names inside a directory.
w (write, 2)
Change file contents, or add / remove / rename entries in a directory.
x (execute, 1)
Run the file as a program, or enter (cd into) and traverse a directory.
Owner
The user who owns the file (the first triad of the symbolic string).
Group
Members of the file's group (the second triad).
Other
Everyone else (the third triad).
setuid (4)
Run the program as the file's owner. Shows as s in the owner execute slot.
setgid (2)
Run as the file's group, or make new files in a directory inherit its group. Shows as s in the group execute slot.
sticky (1)
On a directory, only the owner of a file can delete or rename it (used on /tmp). Shows as t in the other execute slot.

Everything is computed locally in your browser. Nothing is sent to any server.