About Chmod calculator
Calculate Unix and Linux file permissions effortlessly with this interactive Chmod Calculator on XMOOO Tools. Toggle Read (4), Write (2), and Execute (1) permissions for Owner, Group, and Public to generate exact octal numbers, symbolic modes, and ready-to-run `chmod` commands.
Formulas & Technical Rules
Read (r) = 4, Write (w) = 2, Execute (x) = 1. Sum each column (Owner, Group, Public) to get the 3-digit octal mode.
How to Use Chmod calculator
- Check or uncheck Read, Write, and Execute permissions for Owner, Group, and Public.
- View the calculated 3-digit octal value (e.g., 755) and symbolic string (rwxr-xr-x) instantly.
- Copy the generated chmod command directly into your terminal.
Essential Linux Chmod Permission Presets
| Octal | Symbolic | Meaning & Best Practice |
|---|---|---|
| 600 | rw------- | SSH private keys (~/.ssh/id_rsa) & .env secrets |
| 644 | rw-r--r-- | Standard web files, HTML, configs, and source files |
| 755 | rwxr-xr-x | Directories and executable scripts |
| 700 | rwx------ | Private user directories (~/.ssh) |
| 777 | rwxrwxrwx | World-writable — avoid in production servers |