Git, Server & Deployment

chmod Calculator

Tick the permissions you want and instantly read the octal and symbolic modes, plus a ready-to-run chmod command. Nothing leaves your browser.

Runs in your browser v1.0.0

Permissions

tick to grant
Owner
Group
Others
Common presets
Special bits — setuid, setgid, sticky

Result

live
Octal 644
Symbolic rw-r--r--

Edit the target path below; the command updates as you type.

Accepts octal (755, 0755, 4755) or symbolic (rwxr-xr-x, -rw-r--r--).

How it works

Unix permissions are three groups of three bits: read (4), write (2) and execute (1) for the owner, the group and everyone else. Adding each group gives a digit from 0 to 7, so rwxr-xr-x becomes 755. The special bits add a leading digit: 4 setuid, 2 setgid and 1 sticky, as in 4755. Everything is calculated locally in your browser.