Guides हि
Bramhify Pro

Unlock advanced tools, unlimited usage, and priority support.

Upgrade Now
Home / Tools / Linux Permissions (chmod) Calculator
Linux Permissions (chmod) Calculator Icon

Linux Permissions (chmod) Calculator

In-Browser • 100% Private

Generate chmod commands with path, -R flag, risk badges & SSH/Nginx presets.

umask 022

Permission Grid

Read (4) · Write (2) · Execute (1)
ClassRead (4)Write (2)Execute (1)
Owner (u)
Group (g)
Public (o)
Special Bits:
Web Server & SSH Presets
PRODUCTION SAFE Standard Web Directory & Script Mode (755)

Type 000–7777 to sync grid
u=rwx, g=rx, o=rx
Safe Web-Root Alternative (Dirs 755 / Files 644)

What Does Linux chmod 755, 644, and 600 Mean?

chmod (short for "change mode") controls who can read, write, or execute files and directories on Linux, macOS, and Unix servers. Each octal digit sums Read (4), Write (2), and Execute (1) for Owner (u), Group (g), and Public / Others (o), with an optional leading digit for special POSIX bits: SUID (4), SGID (2), and Sticky Bit (1). Read our Linux chmod 755 vs 644 & SSH Permissions Guide.

How to Build Safe Linux Permission Commands

1
Toggle Grid or Type Code: Check Read/Write/Execute boxes (plus optional SUID/SGID/Sticky bits), type any 3- or 4-digit octal value, or paste an ls -l string like drwxr-xr-x directly.
2
Set Target Path & Context: Pick Dir (d) or File (-), enter your path (e.g. /var/www/html), and optionally enable -R Recursive (with safe find split commands shown automatically).
3
Verify Risk & Copy: Confirm the security assessment badge shows PRODUCTION SAFE, check the complementary umask, and copy the octal or symbolic chmod command (Ctrl+Enter).

Common Production Server Permission Presets

Use chmod 755 (drwxr-xr-x) for Nginx/Apache web directories and executable scripts, chmod 644 (-rw-r--r--) for static HTML/CSS/JS/media files, chmod 700 for ~/.ssh, chmod 600 (or 400) for SSH private keys and .env/wp-config.php secrets, and chmod 1777 for sticky shared temp folders like /tmp. Never use plain chmod 777 on production servers.

Frequently Asked Questions

What does Linux chmod 755 mean?

chmod 755 (drwxr-xr-x) gives the owner full Read, Write, and Execute permissions (7), while Group (5) and Public (5) can only Read and Execute/traverse. It is the standard safe permission for Nginx/Apache directories and executable scripts.

What is the difference between chmod 755 and chmod 644?

chmod 755 includes the execute bit (x) required to enter directories or run scripts, while chmod 644 (-rw-r--r--) omits execute and is the standard permission for static files like HTML, CSS, JavaScript, and images.

Why does SSH require chmod 600 on private keys and 700 on ~/.ssh?

OpenSSH refuses to use a private key if other system users can read it. Setting ~/.ssh to 700 and ~/.ssh/id_rsa to 600 (or 400 for AWS .pem keys) restricts access exclusively to the file owner.

Why is chmod 777 dangerous on production servers?

777 grants world-writable read, write, and execute permissions to every user on the system. Any compromised web process or local account can overwrite files or inject malicious code.

Is the Linux chmod Calculator free and offline?

Yes. All permission calculations run 100% locally in your browser with zero ads, zero tracking, and full offline support.