Chmod Calculator
Convert between rwx checkboxes, octal (755), and symbolic (rwxr-xr-x) permissions — all three update live, entirely in your browser. Nothing is sent anywhere.
755 — owner can read, write, and execute; group and others can read and execute.
| read | write | execute | |
|---|---|---|---|
| owner | |||
| group | |||
| other |
chmod 755 <file>About
Unix file permissions are stored as a handful of bits, not a lookup table. Every file and directory tracks three subjects — its owner, its group, and everyone else — and three abilities per subject: read (4), write (2), and execute (1). Add the abilities you want for a subject and you get a single digit from 0 through 7: 7 (4+2+1) is full access, 5 (4+1) is read and execute with no write, 6 (4+2) is read and write with no execute, and 0 is nothing at all. String three of those digits together, one per subject, and you have the octal mode chmod expects. 755 means the owner is 7 (rwx), and the group and everyone else are each 5 (r-x) — they can read and run the file, but not modify it. 644 is the common file default: the owner can read and write, everyone else can only read.
A fourth, leading digit adds three more bits sitting ahead of the usual nine: setuid, setgid, and the sticky bit. Unlike the read/write/execute bits, these don’t add a tenth character to the symbolic string — they overwrite the execute character in the owner, group, or other triad, which is exactly where most chmod calculators get sloppy. This tool’s checkboxes, octal field, and symbolic field stay in sync no matter which one you edit, so you can move between the format you’re thinking in and the format your terminal is showing you without doing the arithmetic by hand. Paste a full ls -l listing straight in — the leading file-type character and any trailing SELinux or ACL marker are stripped automatically.