Skip to main content

Linux chmod Permission Calculator

Developer

Quickly compute Unix/Linux file permissions without second-guessing `755` vs `644` vs `600`. Toggle Owner, Group, and Others Read/Write/Execute checkboxes—or type any 3-digit octal number—and copy the exact `chmod` command.

Loading tool…

How to use

4 steps
  1. 01

    Toggle Read (`4`), Write (`2`), and Execute (`1`) checkboxes across Owner, Group, and Others.

  2. 02

    Or enter a 3-digit octal code (such as `755`, `644`, `600`) to decode symbolic bits.

  3. 03

    Select common safe templates for scripts, static files, or SSH keys.

  4. 04

    Copy the generated `chmod` shell command directly.

Technical Notes & Guide

2

How `755`, `644`, and `600` Octal Bits Add Up

Each digit sums `Read (4) + Write (2) + Execute (1)`: `7 = rwx`, `6 = rw-`, `5 = r-x`, `4 = r--`. Standard web directories use `755`, config/static files use `644`, and SSH private keys require `600`.

Why `chmod 777` Should Be Avoided

Granting `777` lets every local system user modify or run files, creating unnecessary escalation risk on multi-tenant hosts and web servers.

FAQ

2 questions
Q1Why do directories need the Execute (`x`) permission bit?

On directories, `x` grants permission to traverse (`cd`) into the directory and access file inodes inside—so folders use `755` while plain files use `644`.

Q2Why does SSH reject a key with `644` permissions?

OpenSSH refuses private keys readable by group or other users; run `chmod 600 ~/.ssh/id_rsa` to lock read/write strictly to Owner.

Developer