Advanced Linux Permission Calculator

Calculate, convert, and analyze Linux file permissions with this comprehensive chmod calculator tool.

Numeric (Octal) Input

Special
Special bits (4,2,1)
Owner
User permissions
Group
Group permissions
Others
Other users

Symbolic Input

Owner (u)
4
2
1
Group (g)
4
2
1
Others (o)
4
2
1
0755
rwxr-xr-x
Owner: rwx (7)
Group: r-x (5)
Others: r-x (5)

Special Permissions

SetUID (SUID)

When set, the file executes with the privileges of the file owner, regardless of who runs it.

4000

SetGID (SGID)

For files: execute with group privileges. For directories: new files inherit directory's group.

2000

Sticky Bit

When set on a directory, only the file owner can delete or rename files within that directory.

1000

Quick Permission Presets

Web Server Files Common
0755
rwxr-xr-x
Owner: full, Group/Others: read & execute
Configuration Files
0644
rw-r--r--
Owner: read/write, Group/Others: read only
Private Scripts
0700
rwx------
Owner only: full access
Public Directory Warning
0777
rwxrwxrwx
Everyone: full access (insecure)
SUID Executable
4755
rwsr-xr-x
SetUID + normal executable
Sticky Temp Directory
1777
rwxrwxrwt
World-writable with sticky bit
Private Files
0600
rw-------
Owner only: read/write
SGID Directory
2755
rwxr-sr-x
SetGID + normal directory

chmod Command Generator

chmod 755 script.sh

Permission Reference Guide

Numeric Values
Symbolic Notation
Common Examples
Special Bits
Octal Value Binary Permissions Description
0 000 000 --- No permissions
1 001 001 --x Execute only
2 010 010 -w- Write only
3 011 011 -wx Write & Execute
4 100 100 r-- Read only
5 101 101 r-x Read & Execute
6 110 110 rw- Read & Write
7 111 111 rwx Read, Write & Execute