Calculateur CHMOD Linux (Permissions Octal & Symbolique)
> Linux CHMOD Calculator
Real-time Octal / Symbolic permissions converter.
Special Bits (Advanced)
Common Presets
Shell Command
chmod 0755 file.txt
Guide & Explanations
Master Linux Permissions with the CHMOD Calculator
Managing access rights under Linux, Unix, or macOS is a fundamental concept for any system administrator, developer, or webmaster. Using the chmod command without understanding its exact syntax can lead to serious security flaws, such as making sensitive configuration files accessible to everyone.
Our Linux CHMOD Calculator allows you to securely visualize and instantly generate your permissions.
The Logic of Octal (e.g., 755)
The octal system uses numbers from 0 to 7 to define rights (Read, Write, Execute) for 3 types of users (Owner, Group, Public). Here is how a number is calculated:
- Read is 4.
- Write is 2.
- Execute is 1. Thus, if you want to grant all rights to the owner, you add 4 + 2 + 1 = 7. If you want the public to only be able to read and execute, you add 4 + 1 = 5. This gives the famous 755 (often used for public directories on a web server).
Common Presets and Security
Our tool offers quick buttons for the most frequent use cases, preventing any errors:
- Folders (755): Allows the server to read the directory content without allowing modification by strangers.
- Standard Files (644): Ideal for HTML, PHP, or CSS files.
- SSH Keys (600): Essential. If your private
.pemorid_rsakey is too open, SSH will refuse the connection as a security measure. - DANGER (777): Our tool includes a visual security indicator. If you check all the boxes (777), the tool will alert you to the danger. Giving write permission to the entire world is the leading cause of hacking on hosting servers.
Frequently Asked Questions
Q: Is Calculateur CHMOD Linux (Permissions Octal & Symbolique) free to use?
R: Yes, the Calculateur CHMOD Linux (Permissions Octal & Symbolique) utility is 100% free. All tools on Dolf.in are accessible at no cost and without intrusive ads.
Q: Is my data secure?
R: Absolutely. Dolf.in uses a 'Serverless' approach: your data is processed locally in your browser and is never sent to our servers.
Q: Do I need to install any software?
R: No, no download or installation is required. Everything works directly in your web browser.
Q: What do the numbers in a CHMOD mean (e.g. 755)?
R: Each digit represents the rights of a user category: the first for the Owner (User), the second for the Group, and the third for the Public (Others). The digit is the sum of three rights: 4 to Read, 2 to Write, and 1 to Execute. Thus, 7 (4+2+1) grants all rights, while 5 (4+1) grants the right to read and execute.
Q: Why is the 777 permission dangerous?
R: CHMOD 777 means that anyone on the server, or even anyone on the internet if the server is poorly configured, can read, modify, or execute (delete) your file. This creates a critical security flaw, especially in shared hosting environments.