chmod calculator
chmod_calcConvert Unix file permissions between octal, symbolic, and chmod clause formats; get plain-English owner/group/others explanations, setuid/setgid/sticky meanings, safety warnings, and ready-to-run commands.
Instructions
Convert Unix file permissions between octal (755, 0644, 4755), symbolic (rwxr-xr-x, ls -l style -rwsr-xr-x) and chmod clauses (u=rwx,g=rx,o=; relative ones like g+w or +x apply to "base"). Returns all forms, a plain-English description per owner/group/others, setuid/setgid/sticky meaning, safety warnings, and ready chmod commands. Web version: https://s3eidat.github.io/chmod-calc/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Starting mode (octal) for relative clauses like "g+w". Default 000. | |
| file | No | File name for the example chmod commands (shell-quoted). | file |
| mode | Yes | Octal ("755", "0644", "2775"), symbolic ("rwxr-x---", "drwxrwxrwt") or clauses ("u=rw,go=r", "+x"). | |
| recursive | No | Add -R to the example commands. |