chmod Calculator
Toggle permissions visually and get the octal code, symbolic notation, and full chmod command instantly. Supports setuid, setgid, and sticky bit.
Permissions
Reverse Lookup
Type an octal number to see its permission breakdown.
Options
Affects the first character in ls -la output
Used in the chmod command and ls preview
Output
Common Presets
Permission Reference
View file contents or list directory entries. Octal value 4. Without this, you can't cat a file or ls a directory.
Modify file contents or add/delete directory entries. Octal value 2. For directories, this allows creating and deleting files inside.
Run the file as a program or cd into a directory. Octal value 1. Scripts need both read and execute permissions.
Special Bits
When set on an executable, it runs with the file owner's privileges. Example: /usr/bin/passwd
Executable runs with the file's group privileges. On directories, new files inherit the directory's group.
On directories, only the file owner can delete their files. Classic example: /tmp uses mode 1777.
All done!
Your file is ready for download.
Enjoying Fixie? A small donation keeps these tools free for everyone.