Unix permissions stop being confusing the moment you can see them. Tick the read/write/execute boxes for owner, group and others — including the special bits — and get the octal code, symbolic string and ready-to-paste chmod command instantly. Or decode any octal code back into plain language. Presets cover the combinations admins actually use, each with an honest security note.
Live Demo: https://anaskhan0009.github.io/chmod-calculator/
- Local account system — sign up / log in on this device (passwords stored only as salted SHA-256 hashes, never plain text), continue as guest, per-account data separation, account deletion, and Export / Import of your records as JSON
- Full record manager (CRUD) — create, view, edit and delete your own saved records; the core tool works fully without an account, signing in unlocks saving for saved permission scenarios
- Interactive rwx grid — owner/group/other checkboxes plus setuid, setgid and sticky bit, all updating live
- Both directions — build octal from boxes, or type 644 / 755 / 4755 / 1777 and watch the grid decode it
- Special bits done properly — symbolic output uses s/S and t/T exactly like
ls -l, and each bit is explained without jargon - 9 real presets with security notes — including why 777 and casual setuid are traps
- Tick the boxes for who should do what, and read the octal + symbolic result.
- Or type an existing octal code and press Decode to see it in plain language.
- Load a preset to compare safe defaults for files, folders and shared directories.
- Save scenarios you work out to your records with a label.
Permissions decide the blast radius of every bug and every compromised account. A web server that can only read the files it serves cannot be used to deface them; a private key at 644 is one curious process away from disclosure. Least privilege is boring — right up until it is the only thing between a small bug and a full takeover.
This is a defensive, educational tool — it only ever helps you understand and improve your own security and privacy. Nothing here can be used to attack, track or deceive anyone else.
Single self-contained index.html — HTML, CSS, vanilla JavaScript, WebCrypto (salted SHA-256 password hashing), localStorage persistence. No servers, no tracking, no external requests.
Built by Dinal Studios — free cyber security tools and web apps. GitHub: https://github.com/anaskhan0009