Linux Chmod Octal (755, 644) & Symbolic Permission Calculator
Convert Linux file permission octal digits (e.g. 755, 644, 600) into symbolic rwxr-xr-x notation and chmod commands. 2026 Baseline (Chmod Command & Symbolic Mode): chmod 755 path (-rwxr-xr-x / drwxr-xr-x) | Owner / Group / Others: rwx / r-x / r-x.
Maintained by: OmniTool Systems & Web Engineering Desk
Last Reviewed: 2026-10-20 (Updated 2026-10-25)
Documentation: Formula & Source Policy
Presets:
Chmod Command & Symbolic Mode
chmod 755 path (-rwxr-xr-x / drwxr-xr-x)
Owner / Group / Others
rwx / r-x / r-x
4-Digit Octal Mode
0755
Live Sensitivity Scale (Owner Octal (0-7: 4=Read, 2=Write, 1=Exec))
Output Comparison
0.75× Conservative
chmod 555 path (-r-xr-xr-x / dr-xr-xr-x)
1.00× Active
chmod 755 path (-rwxr-xr-x / drwxr-xr-x)
1.50× Aggressive
chmod 655 path (-rw-r-xr-x / drw-r-xr-x)
Note: ls -l prefixes regular files with "-" (-rwxr-xr-x) and directories with "d" (drwxr-xr-x). 755 is standard for directories/scripts; 644 for static files.
Interactive Unix rwx Permission Bit Matrix (Click to Toggle)
Owner (User)
Group
Public (Others)
Scenario Comparison & Benchmark Table (Chmod Calculator)
Compare how scaling the primary input changes results (click any row to load into calculator):
| Owner Octal (0-7: 4=Read, 2=Write, 1=Exec) | Chmod Command & Symbolic Mode | Owner / Group / Others | 4-Digit Octal Mode |
|---|---|---|---|
| 0 | chmod 055 path (----r-xr-x / d---r-xr-x) | --- / r-x / r-x | 0055 |
| 1 | chmod 155 path (---xr-xr-x / d--xr-xr-x) | --x / r-x / r-x | 0155 |
| 3 | chmod 355 path (--wxr-xr-x / d-wxr-xr-x) | -wx / r-x / r-x | 0355 |
| 4 | chmod 455 path (-r--r-xr-x / dr--r-xr-x) | r-- / r-x / r-x | 0455 |
| 6 | chmod 655 path (-rw-r-xr-x / drw-r-xr-x) | rw- / r-x / r-x | 0655 |
| 7 (Baseline) | chmod 755 path (-rwxr-xr-x / drwxr-xr-x) | rwx / r-x / r-x | 0755 |
Standard Linux & Web Server Chmod Octal Modes Reference
POSIX permission bitmasks across Owner, Group, and Others (Read = 4, Write = 2, Execute = 1):
| Octal | File Symbolic | Directory Symbolic | Typical Production Use Case |
|---|---|---|---|
| 0600 (600) | -rw------- | drw------- | SSH private keys (~/.ssh/id_ed25519), .env secrets, TLS private keys |
| 0644 (644) | -rw-r--r-- | — (No traverse) | Static web assets (HTML, CSS, JS, images), public config files |
| 0700 (700) | -rwx------ | drwx------ | Private ~/.ssh directory, root-only cron/maintenance scripts |
| 0755 (755) | -rwxr-xr-x | drwxr-xr-x | Web server directories (/var/www), CLI binaries, CGI/shell scripts |
| 0775 (775) | -rwxrwxr-x | drwxrwxr-x | Shared deploy group directories (e.g. www-data + deploy user) |
| 0777 (777) | -rwxrwxrwx | drwxrwxrwx | World-writable (Avoid in production—security risk) |
Mathematical Formula & Step-by-Step Guide
Primary mathematical equation used by this model:
4 = Read (r), 2 = Write (w), 1 = Execute (x), 0 = None (-)
- Set Owner, Group, and Public/Others octal digits (0–7: Read = 4, Write = 2, Execute = 1), toggle the interactive 9-bit rwx checkbox matrix, or click a preset (755, 644, 600, 775).
- Copy the generated chmod command and inspect both regular-file (-rwxr-xr-x) and directory (drwxr-xr-x) symbolic representations.
- Verify least-privilege security: never use 777 on web roots or config files, and use 600 (0600) for SSH private keys and .env credentials.
Primary Standards & References: IEEE Std 1003.1-2024 (POSIX.1) File Mode Bits (<sys/stat.h>), Linux man-pages chmod(1) & umask(2), and OpenSSH ssh(1) Private Key Permission Requirements (Reviewed 2026-10-25).
All developer utilities execute locally in your browser with zero server-side logging of input payloads.
All developer utilities execute locally in your browser with zero server-side logging of input payloads.
Frequently Asked Questions — Chmod Calculator
When should I use chmod 755 vs chmod 644 vs chmod 600 on Linux?
Use chmod 755 (drwxr-xr-x on directories, -rwxr-xr-x on executable scripts/binaries) when the owner needs full read/write/execute and others need read and directory-traversal (+x) access. Use chmod 644 (-rw-r--r--) for static HTML, CSS, JSON, and non-secret config files that should never be executed. Use chmod 600 (-rw-------) for SSH private keys (~/.ssh/id_ed25519) and .env secret files so no other system account can read them.
Why does Execute (1 / x) behave differently on Linux directories vs regular files?
On a regular file, the execute bit (1) allows the kernel to run the file as a program or script. On a directory, the execute bit (search/traverse bit) is required to cd into the directory or access files inside it by name: a directory set to 644 (drw-r--r--) allows listing filenames if readable, but blocks non-root users from opening files inside it—which is why web directories use 755 while files inside them use 644.
What POSIX specification defines octal file mode bits and leading 0755 notation?
This calculator implements IEEE Std 1003.1 (POSIX.1-2024) standard permission mode bits—S_IRWXU (0700 owner), S_IRWXG (0070 group), and S_IRWXO (0007 others), where Read = 4, Write = 2, Execute = 1—reviewed on 2026-10-25 by the OmniTool Systems & Web Engineering Desk. In 4-digit octal notation (e.g., 0755), the leading 0 denotes zero special mode bits (setuid 4, setgid 2, sticky bit 1).
Popular Scenarios & Quick-Lookup Models
Reference Matrix • 2026 Edition
/8 CIDR Subnet Mask (10.0.0.0/8 Class A)
16,777,214 Hosts →
/12 CIDR Subnet Mask (172.16.0.0/12 RFC1918)
1,048,574 Hosts →
Chmod 640 (-rw-r-----) Config Permission
-rw-r----- →
Chmod 660 (-rw-rw----) Group Read/Write
-rw-rw---- →
Chmod 770 (-rwxrwx---) Group Admin Dir
-rwxrwx--- →
Chmod 555 (-r-xr-xr-x) Immutable Binary
-r-xr-xr-x →
/10 CIDR Subnet Mask (100.64.0.0/10 CGNAT)
4,194,302 Hosts →
/14 CIDR Subnet Mask (255.252.0.0 VPC)
262,142 Hosts →
Chmod 711 (-rwx--x--x) Execute-Only Dir
-rwx--x--x →
Chmod 751 (-rwxr-x--x) Web Root Mode
-rwxr-x--x →
Chmod 500 (-r-x------) Read/Exec Binary
-r-x------ →
Chmod 666 (-rw-rw-rw-) World-Writable Audit
-rw-rw-rw- →