Chmod Calculator
Interactive Linux file permissions calculator. Convert between visual checkboxes, octal notation (755, 644), and symbolic notation (-rwxr-xr-x) with live terminal command generation.
| Scope | Read (4) | Write (2) | Execute (1) |
|---|---|---|---|
| Owner (User) | |||
| Group | |||
| Others (Public) |
Frequently Asked Questions
How do Linux file permissions work?
Linux defines permissions for three tiers: Owner (User), Group, and Others (Public). Each tier can have Read (4), Write (2), and Execute (1) permissions, summing to an octal digit between 0 and 7.
What is the difference between 755 and 644?
chmod 755 grants the owner read, write, and execute permissions while group and others get read and execute (ideal for scripts and web directories). chmod 644 allows the owner to read and write while others can only read (ideal for standard files and documents).
How do symbolic permission strings like -rwxr-xr-x work?
Symbolic notation has an optional leading file-type character (-, d, l) followed by 9 rwx characters split into Owner, Group, and Others. Special bits appear on the execute position (s/S for SUID/SGID and t/T for Sticky).
What are special permissions (SUID, SGID, and Sticky bit)?
SUID (4) runs an executable with the permissions of the file owner. SGID (2) runs with the file group permissions or inherits group ID in directories. The Sticky bit (1) prevents users from deleting files owned by others in a shared directory like /tmp.
What does the -R recursive flag do?
The -R flag applies the specified permissions recursively to all files and subdirectories located within the target directory.
How are file paths handled in the generated command?
Paths containing spaces are automatically wrapped in double quotes (for example chmod 755 "/var/my app"), while invalid octal or symbolic inputs disable copying so broken commands are not copied.
Does this tool transmit my file paths or permissions to a server?
No. All permission conversions, command formatting, and matrix calculations execute 100% locally in your browser with zero network requests.