ToolsVenue · Free Tool
Set Linux file permissions correctly every time. Visually select permissions and instantly generate the correct chmod command — no memorizing octal values needed.
Click to copy
Unix permissions string
chmod 755 filename
Replace 'filename' with your actual file or directory name
chmod (change mode) is a Unix/Linux command that controls who can read, write, and execute a file or directory. Every file on a Linux system has three sets of permissions — for the Owner, the Group, and Others (everyone else). Each set can have up to three permissions: Read (r), Write (w), and Execute (x).
If you've ever stared at a string like chmod 755 and wondered what it actually means, you're not alone. Linux file permissions can feel cryptic — but they're absolutely essential for server security and proper file management.
ToolsVenue's free chmod calculator eliminates the guesswork — letting you visually set permissions and instantly generate the correct chmod command without memorizing number combinations.
Permissions are represented in two ways: symbolic notation (e.g., rwxr-xr--) and octal notation (e.g., 754). In octal notation, each digit represents the permissions for one group — Owner, Group, and Others.
Allows viewing the contents of a file or listing the contents of a directory. Represented as 4 in octal notation.
Allows modifying a file or creating/deleting files inside a directory. Represented as 2 in octal notation.
Allows running a file as a program, or entering (cd into) a directory. Represented as 1 in octal notation. So rwx = 4+2+1 = 7.
Here are the most commonly used chmod values in web server administration and Linux file management.
| Value | Permissions | Typical Use |
|---|---|---|
755 |
rwxr-xr-x | Web server directories, public scripts |
644 |
rw-r--r-- | Regular files, web pages, CSS/JS files |
777 |
rwxrwxrwx | ⚠ AVOID — full access to everyone (security risk) |
600 |
rw------- | SSH private keys, sensitive config files |
700 |
rwx------ | Private executable scripts |
440 |
r--r----- | Config files with sensitive credentials |
Open the chmod Calculator
Go to toolsvenue.com/chmod-calculator/ — no account or installation required.
Check the Permission Boxes
Tick the Read, Write, and Execute boxes for Owner, Group, and Others as needed.
Get Your Octal Value Instantly
The calculator instantly displays the octal value (e.g., 755) as you check boxes.
Copy the Ready-to-Use Command
See the full chmod command ready to copy — e.g., chmod 755 filename.
Apply in Your Terminal or cPanel
Paste the command in your terminal or apply equivalent settings via your hosting control panel.
Set directories to 755 (owner has full access, group and others can read and execute) and files to 644 (owner can read/write, group and others read-only).
Files like wp-config.php, .env, and database credentials should use 600 or 640 — only the owner should read and write these.
Web server upload directories often need 755 or 775 to allow writing. Never use 777 on upload directories — it creates a significant security vulnerability.
| Question | Answer |
|---|---|
| What does chmod 777 mean and why is it dangerous? | chmod 777 gives read, write, and execute permissions to everyone. This is a severe security risk — anyone can modify or execute the file, making it a prime target for attacks. |
| How do I change file permissions via cPanel? | In cPanel's File Manager, right-click a file or directory and select 'Change Permissions.' Check the appropriate boxes and click 'Change Permissions.' This is equivalent to running chmod in the terminal. |
| What's the difference between file and directory permissions? | For directories, Execute permission means the ability to enter the directory (cd into it). A directory without execute permission cannot be navigated into, even if you have read permission. |
| Is the chmod calculator free? | Yes, completely free at toolsvenue.com/chmod-calculator/ with no registration needed. |
| Can I set recursive permissions with chmod? | Yes — in the terminal, use chmod -R 755 /path/to/directory to apply permissions recursively to a directory and all its contents. |
Getting file permissions right is fundamental to Linux security and web server administration. Turn complex octal notation into a simple visual interface — no memorizing required.
Keep your server secure — starting today.