Unix Permission Calculator
Managing file and directory access rights across Linux and Unix servers is much faster when you do not have to calculate bit weights by hand. This Unix permission calculator lets you toggle read, write, and execute permissions or type a 3-digit octal mode (such as 755 or 644) to generate the exact chmod command and symbolic notation in real time.
Understanding Linux & Unix File Permissions
Every file and directory on a Linux or Unix system has access rights divided into three user classes: Owner, Group, and Others (Public). Each class is assigned a combination of three basic operations with fixed numeric weights: Read (r = 4), Write (w = 2), and Execute (x = 1).
Adding those bit weights produces an octal digit from 0 to 7 for each user class. Combining the three digits forms a complete file mode: for example, 755 (rwxr-xr-x) grants the owner full read, write, and execute rights (4+2+1=7) while giving group and others read and execute access (4+0+1=5), whereas 644 (rw-r--r--) grants the owner read and write access (6) and restricts group and others to read-only (4).
System administrators apply these octal modes in the terminal using the chmod utility, documented in the Linux chmod(1) manual page. Instead of calculating bit sums manually, our chmod calculator updates the octal value, symbolic string, and shell command as you toggle permissions.
Common Chmod & Unix Permission Modes
Quick reference for standard octal permission values, symbolic strings, and typical server use cases.
| Octal Mode | Symbolic Notation | Chmod Command | Access Rights & Common Use Case |
|---|---|---|---|
| 755 | rwxr-xr-x | chmod 755 file | Owner has full access (rwx); Group and Others can read and execute (r-x). Standard for web directories and executable scripts. |
| 644 | rw-r--r-- | chmod 644 file | Owner can read and write (rw-); Group and Others have read-only access (r--). Standard for HTML, CSS, and configuration files. |
| 744 | rwxr--r-- | chmod 744 file | Owner has full read, write, and execute rights (rwx); Group and Others have read-only access (r--). Used for owner-only scripts. |
| 700 | rwx------ | chmod 700 folder | Owner has full access (rwx); Group and Others have no access (---). Standard for private user directories like ~/.ssh. |
| 600 | rw------- | chmod 600 file | Owner can read and write (rw-); Group and Others have zero access (---). Required for private SSH keys and .env secrets. |
| 400 | r-------- | chmod 400 file | Read-only for the owner (r--); no access for anyone else. Prevents accidental modification of certificates and PEM key files. |
| 777 | rwxrwxrwx | chmod 777 file | Full read, write, and execute rights for Owner, Group, and Others. Avoid on production servers due to security risks. |
Common Scenarios for the Unix Permission Calculator
From configuring web servers to securing private keys, determine the exact permission mode for any Linux or Unix environment.
Configure Web Server Directories
Set standard access modes such as 755 (rwxr-xr-x) for directories and 644 (rw-r--r--) for static files when deploying sites on Nginx or Apache.
Lock Down SSH Keys and Secrets
Apply strict octal permissions like chmod 600 or 400 to private SSH keys, .env files, and database credentials so unauthorized users have zero access rights.
Prepare Executable Scripts
Convert visual permission matrices into octal chmod commands for bash scripts, Dockerfiles, and automated tasks scheduled with our Cron Expression Generator.
Audit Owner, Group, and Public Rights
Preview exact read, write, and execute rights across Owner, Group, and Public user classes before running chmod commands on production servers.
Convert Octal and Symbolic Modes
Translate base-8 octal numbers (which you can also inspect in binary with our Number Base Converter) into 9-character symbolic strings like rwxr-xr-x.
Fix Permission Denied Errors
Decode numeric file modes back into symbolic permissions to spot missing execute bits on directories or missing write permissions on log files.