How to Use Chmod Calculator
- Tick read, write and execute for owner, group and others – or type an octal or symbolic value.
- Add special bits if needed.
- Copy the chmod command.
Chmod Calculator Features
- Three-way sync: checkboxes, octal and symbolic (including ls -l output) stay in sync.
- Special bits: setuid, setgid and sticky bit.
- Plain-English summary: who can read, write and execute.
- umask calculator: default permissions for new files and folders.
- Presets: 644, 755, 600, 700, 400, 664, 775 and 777.
- Free and unlimited: use it as often as you like without registering.
- Local processing: works with JavaScript in your browser instead of a cloud service.
- Nothing to install: a modern browser on PC, Mac, tablet or phone is all you need.
Common Permissions
| Octal | Symbolic | Typical use |
|---|
| 644 | rw-r--r-- | Web pages and normal files |
| 755 | rwxr-xr-x | Scripts, programs and folders |
| 600 | rw------- | Private files, SSH keys |
| 700 | rwx------ | Private folders |
| 777 | rwxrwxrwx | Avoid – anyone can change it |
Changing Permissions Safely
Run ls -l first to see the current permissions, change them with chmod, and use chmod -R only when you are sure, because it applies the same mode to every file and folder inside. A common pattern for websites is folders at 755 and files at 644: find . -type d -exec chmod 755 {} + and find . -type f -exec chmod 644 {} +. Ownership is a separate setting changed with chown.
Who Uses the Chmod Calculator?
- Web developers fixing upload and 403 errors
- Linux and macOS users
- Students learning Unix permissions
Frequently Asked Questions
What does chmod 755 mean?
The owner can read, write and execute (7 = 4+2+1); the group and everyone else can read and execute (5 = 4+1) but not change the file.
Why is chmod 777 dangerous?
It lets every user on the system modify or replace the file, which attackers can abuse. Use 755 or 775 for folders and 644 or 664 for files instead.
What does the s or t mean in ls -l?
s in the owner or group execute position is setuid/setgid (the program runs with the owner’s or group’s rights); t in the others position is the sticky bit (only owners can delete their files in the folder, like /tmp).
Why do folders need execute permission?
On a directory, execute (x) means “allowed to enter and access files inside”. Without it you cannot open files in the folder even if you can list it.
What is the difference between chmod 644 and 664?
Both let the owner read and write and everyone else read. 664 also lets members of the file’s group write to it, which is useful for shared project folders where several users edit the same files.