Calculate permissions in seconds
Check the boxes for read, write, and execute permissions for owner, group, and others.
Optionally enable Setuid, Setgid, or Sticky bit for advanced use cases.
Copy the generated chmod command in numeric or symbolic notation.
Understanding Linux permissions
chmod (change mode) is a Unix/Linux command used to change the permissions of files and directories.
Every file in Linux has three permission types:
Permissions are set for three user categories:
This calculator helps you visualize and generate the correct chmod command with support for special permissions.
Real-world permission scenarios
Set 644 for HTML/CSS/JS files (owner can edit, others can read)
Set 755 for shell scripts and binaries that need to run
Set 600 for SSH keys and sensitive configuration files
Set 775 for team directories with shared write access
Set 4755 for executables that need root privileges
Set 1777 for /tmp directories where everyone can write but only owners can delete
Master file permissions
The calculator provides two ways to specify permissions:
Numeric Notation (Octal) Each permission has a numeric value:
Add values for each category:
Symbolic Notation Use letters and operators:
chmod u+x,g-w fileCommon chmod questions answered
Protect your files
Follow the principle of least privilege:
Special permissions:
find / -perm /6000 -type fRegular maintenance:
Permission statistics
Showing 8 of 94 related tools