Chmod Calculator
Convert between rwx checkboxes, octal, and symbolic Linux file permissions
Permission Grid
| Who | Read (4) | Write (2) | Execute (1) | Digit |
|---|---|---|---|---|
| Owner | 7 | |||
| Group | 5 | |||
| Others | 5 |
Special bits
chmod 755 filenameCommon Presets
How Linux file permissions work
Every file and directory on a Unix-like system has three permission sets — for the owner, the group, and others (everyone else). Each set contains three bits: read (r, worth 4), write (w, worth 2), and execute (x, worth 1). Adding the values of the enabled bits for each set produces one octal digit, so three sets become a three-digit number like 755.
Worked example — chmod 754 script.sh: the owner digit 7 = 4+2+1 (read, write, execute → rwx), the group digit 5 = 4+1 (read, execute → r-x), and the others digit 4 = read only (r--). The full symbolic form is rwxr-xr--. For directories, “execute” means permission to enter the directory and access files inside it.
A fourth, leading digit sets the special bits: setuid (4) makes an executable run with the file owner’s privileges, setgid (2) runs it with the group’s privileges (on directories, new files inherit the directory’s group), and the sticky bit (1) on a shared directory like /tmp means only a file’s owner can delete it. In symbolic notation these appear as s or t in the execute position — lowercase when execute is also set, uppercase (S/T) when it is not.
❓Chmod Calculator FAQ
🔗Related Tools
Number Base Converter
Convert numbers between binary, octal, decimal, and hexadecimal
Cron Expression Explainer
Translate cron expressions into plain English and preview next run times
Hash Generator
Generate MD5, SHA1, SHA256, SHA512 hashes
UUID Generator
Generate random UUIDs (v4) instantly — single or bulk
Regex Tester
Test and debug regular expressions with real-time match highlighting
Tip: Explore our complete toolkit to find more tools that can help with your workflow. Each tool is designed to work seamlessly with others for maximum productivity.
Disclaimer: A2ZKit's tools, calculators, cheat sheets, and articles are provided for general information and educational purposes only, on an "as is" basis without warranties of any kind. They are not financial, investment, tax, accounting, medical, health, or legal advice, and are not a substitute for a qualified professional. Results may be inaccurate or incomplete — verify independently and consult an appropriate professional before making any decision. Some tools process files — such as PDFs and images — entirely in your browser; you are responsible for keeping your own backups, and we are not liable for any data loss, file corruption, or inaccurate output. You use A2ZKit entirely at your own risk. By using the site you agree to our Terms of Service.