chmod Calculator ⚙️

Visual Linux file permission editor. Toggle permissions, get the command.

-rwxr-xr-x
Owner
Group
Others
Quick Presets

Command Output

chmod 755
chmod u=rwx,g=rx,o=rx filename

How chmod Works

In Linux and Unix-like operating systems, the chmod (change mode) command is used to set or modify the access permissions of files and directories. File permissions dictate who can read, write, or execute a specific file.

Permissions are divided into three user classes:

Understanding Permission Numbers

Numeric (octal) notation is the most common way to use chmod. Each digit represents a user class (Owner, Group, Others) and is calculated by adding the values of the permissions granted:

Number Permission Symbol Breakdown
0None---0
1Execute only--x1
2Write only-w-2
3Write & Execute-wx2 + 1
4Read onlyr--4
5Read & Executer-x4 + 1
6Read & Writerw-4 + 2
7Read, Write & Executerwx4 + 2 + 1

Common chmod Examples

Special Permissions

Beyond standard read/write/execute, Linux supports special permissions that prepend a fourth digit (e.g., 4755):