What you can do with Chmod Calculator
- Calculate chmod permission
- Convert 755 to symbolic
- Generate chmod command
How this security utility works
Calculate Linux and Unix file permissions with a visual permission matrix, octal modes, symbolic notation, and a ready-to-review chmod command.
Example input
Octal mode: 4755Example output
Octal: 4755 | Symbolic: rwsr-xr-x | Command: chmod 4755 filename.extPractical workflow
- Toggle read, write, and execute permissions for the owner, group, and others, or enter a three-digit octal mode.
- Enable SetUID, SetGID, or Sticky with the dedicated checkboxes, or enter a four-digit octal mode such as 4755.
- Review the matching nine-character symbolic mode; special execute positions use s/S or t/T.
- Enter a file path, optionally enable recursive mode, and review or copy the generated chmod command.
Common use cases
- Check standard file modes such as 600 for private keys and 755 for executable directories.
- Prepare a shared directory mode with SetGID or Sticky before applying it on a Unix system.
- Compare octal and symbolic permissions while reviewing a deployment command.
Important notes and limitations
- The calculator accepts three permission digits or four digits with SetUID, SetGID, and Sticky bits.
- The generated command is displayed for review; this page never changes files or runs chmod.
- The calculator does not evaluate umask, ACLs, ownership, or permissions inherited from a filesystem.
POSIX file permissions & umask terminal commands
Inspect octal permissions with stat
stat -c "%a %n" /path/to/filePrints the three or four-digit octal permission notation alongside the filename on Linux systems.
Apply permissions recursively with safe directory execution
chmod -R u=rwX,go=rX /var/www/htmlSets read/write for owner and read-only for others, granting execute (+X) only to directories and existing executables.
Inspect active process umask
umask -SDisplays symbolic default permission mask subtracted from 666 (files) and 777 (directories) during creation.
Permission denied & SUID/SGID troubleshooting
EACCES: permission denied on executable script
Cause: Script file has read permission (0644) but lacks the execute bit (+x / 0755) for the current user or group.
Solution: Run 'chmod +x script.sh' or invoke directly via the interpreter 'bash script.sh' or 'python3 script.py'.
SSH key rejected: Permissions 0644 for id_ed25519 are too open
Cause: OpenSSH requires private keys to be inaccessible by other users (maximum 0600 or 0400).
Solution: Execute 'chmod 600 ~/.ssh/id_ed25519' to strip all group and other read/write permissions.
Continue your workflow
- SSH Key Generator — generate Ed25519 or RSA SSH keys and learn to restrict private-key files to mode 600.
- Git Command Generator — build interactive Git commands for branch and commit workflows.
- Number Base Converter — Convert octal permission values (like 755 or 644) into binary and decimal.
Frequently asked questions
How does the calculator show SetUID, SetGID, and Sticky bits?
Use a four-digit octal mode such as 4755 or the three special-bit checkboxes. The symbolic mode shows s/S for SetUID or SetGID and t/T for Sticky, depending on whether execute is also enabled.
Does the generated command change a file on my device?
No. The calculator only displays a chmod command for you to review and copy; it does not execute commands or access your filesystem.
Can this calculator determine the effective permissions from umask?
No. It converts the selected mode only; umask, ACLs, ownership, and filesystem rules are outside its calculation.