chmod Calculator
Turn Read, Write and Execute checkboxes into octal and symbolic permissions, read 755 or rwxr-xr-x in both directions, and copy the chmod, umask and Dockerfile lines you need.
Runs entirely in your browser — nothing you paste is uploaded.
Each digit adds 4 for read, 2 for write and 1 for execute, in the order owner, group and others. The fourth digit carries setuid, setgid and sticky.
Linux permissions cheat sheet
quick reference- 755 / rwxr-xr-x
- The owner may write, everyone may read and execute. The standard mode for a public directory and for a script you run.
- 644 / rw-r--r--
- The owner writes, everyone reads: index.html, app.yaml and most files in a repository.
- 600
- Only the owner can read or write. An SSH private key that group or others can read is refused by ssh, so id_ed25519 stays 600.
- chmod u+x file
- Symbolic mode changes one class: u, g, o or a, then + or - or =, then r, w or x. chmod a-w makes a tree read-only.
- 4 setuid / 2 setgid / 1 sticky
- The fourth digit. 4755 runs a binary with its owner's rights, and 1777 on /tmp lets anyone write but only an owner delete.
- umask 022
- Bits removed from every new file: 022 creates files as 644 and directories as 755, which is the usual default on servers.
Frequently asked questions
answered below the toolWhat does chmod 755 mean?
The owner can read, write and execute while group and others can read and execute. Each digit adds 4 for read, 2 for write and 1 for execute, in the order owner, group, others.
Why is 600 required for an SSH private key?
ssh refuses a key that group or others can read, because a copied key is a stolen identity. chmod 600 id_ed25519 fixes it, and the ~/.ssh directory stays 700.
What is the difference between 644 and 755?
644 is a normal file: the owner writes and everyone reads. 755 adds execute for everyone, which a directory needs to be entered and a script needs to run.
Related Linux syntax guides
All Linux guidesLinux: Too many open files (EMFILE) and ulimit
EMFILE is a per-process descriptor limit, ENFILE is the kernel's. Read the limit from /proc, raise it in the right layer, and find the leak that made it matter.
Linuxsystemd status=203/EXEC and 217/USER: Exec and Permission Failures
203 is a failed execve, 217 is a user systemd could not resolve. Both happen before your program runs, and the check that finds each takes one command.
Linuxsystemd Timers vs Cron: Missing PATH, Overlapping Runs, Time Drift
Cron runs a bare shell with no profile and no locking, and systemd reads the system time zone. The environment, single-instance and schedule fixes for both.
LinuxBash Indexed Arrays, Associative Maps, and Parameter Expansion
Quoting decides whether an array stays a list, and the expansion operators replace most external text tools. Includes set -u, mapfile, namerefs, and the bash 3.2 differences that break scripts on macOS.