What it does
Converts Unix file permissions between three representations: the tick-box grid, the symbolic string (rwxr-xr-x) and the three-digit octal number (755). Change any one and the others follow, and the result pane shows the exact command — chmod 755 file — ready to copy.
How it works
Permissions are split into three classes: owner, group and others. Each class carries three bits — read (4), write (2) and execute (1). Add the bits that are set to get that class's octal digit, so rwx = 4+2+1 = 7 and r-x = 4+1 = 5. Line the three digits up in owner-group-others order and you have the octal mode.
Worked examples
644→rw-r--r--: owner can read and write, everyone else can only read. The usual mode for a plain file.755→rwxr-xr-x: owner has full control, group and others can read and execute. The usual mode for a script, binary or directory.600→rw-------: owner-only read/write, used for private keys and secrets.
Gotchas
- On a directory, execute (
x) means "may enter / traverse", not "run" — a directory with read but no execute lets you list names but notcdinto it. - This calculator covers the three base classes. The leading fourth digit for setuid, setgid and the sticky bit (as in
chmod 1777) is a separate concept not modelled here. chmodnever widens access past what the parent directory and ownership allow; permissions are only part of the picture.
When to use it
Whenever you need to translate a permission you have read somewhere into the number for a chmod command, or sanity-check what a mode like 775 actually grants. Handy alongside htpasswd and .htaccess work when hardening a web server's files.
Privacy
Everything is computed locally in your browser; nothing is uploaded.