Chmod Permissions Calculator
Toggle the checkboxes or type an octal / symbolic value. Everything stays in sync.
| Read (4) | Write (2) | Execute (1) | |
|---|---|---|---|
| Owner | |||
| Group | |||
| Others |
How the Chmod Permissions Calculator works
You've seen rw-r--r-- in an ls -l listing and you need the number for chmod. Or you have 755 in a tutorial and want to know what it actually grants. This calculator converts between all three representations of Linux file permissions and keeps them in sync as you type.
There are three ways in. Tick the checkboxes in the read/write/execute grid for owner, group and others. Type an octal value such as 644 in the first box. Or type the nine-character symbolic form, rwxr-xr-x, in the second. Whichever one you touch, the other two update instantly, along with a ready-to-copy chmod command in both numeric and u=,g=,o= letter syntax.
Below the command you get a plain-language breakdown of exactly who can do what. For well-known modes the tool adds a short note: 644 for regular files, 755 for directories and executables, 600 for private keys and credentials, and a clear warning when you land on 777, which is almost never the right answer on a server.
A note on four-digit modes
A leading fourth digit sets setuid, setgid or the sticky bit. The calculator accepts it and works with the last three digits, telling you so rather than failing quietly.
Where this fits in real work
Permission fixes rarely happen one file at a time. To apply a mode across many files at once, the Find Command Composer can attach a chmod action to any search. And since SSH is strict about key and config permissions, the SSH Config Generator pairs naturally with this tool.
More tools from CommandLinux
Chmod Permissions Calculator Find Command Composer SSH Config Generator Crontab Decoder Systemd Service Generator Tar Command Builder Grep/Sed Regex Tester IP Subnet Calculator Bash Script Boilerplate Generator Command Line Quiz