chmod calculator
Unix permissions both ways: checkboxes, octal and ls-style symbolic stay in sync, with SUID, SGID and the sticky bit explained.
chmod 755 file chmod u=rwx,g=rx,o=rx file
Reading and writing Unix permissions
Three views of the same nine bits, kept in sync: tick the checkboxes, type an octal mode like 755, or paste the symbolic string straight from ls -l — including a leading file-type character and the s/S/t/T special-bit letters. The tool renders the chmod command in both octal and u=rwx,g=rx,o=rx forms.
The special bits are where permissions actually get misunderstood, so they are explained in place: SUID executes a binary as its owner, SGID makes directories inherit their group, and the sticky bit is the reason anyone can write to /tmp but only you can delete your files there.
Why does my octal mode have four digits?
What is the difference between s and S in ls output?
What should config files and SSH keys be?
Is chmod 777 ever the right answer?
Related tools: Dockerfile analyzer, K8s manifest validator and Cron parser.