Linux File Permissions

The chmod calculator
developers actually want.

Convert between octal, symbolic, and binary permission formats in real-time. Includes special bits, presets, command builder, and permission explainer.

chmod calculator

Calculate file permissions.

Toggle checkboxes, type octal or symbolic — everything syncs live.

📋

Select permissions to see a plain-English explanation.

👤
Owner
👥
Group
🌐
Others
📖Read4
✏️Write2
▶️Execute1
Special Bits
000·000·000
Terminal command
chmod 0000 filename
umask calculator

Enter a umask value to see effective file & directory permissions.

Files644 (-rw-r--r--)
Directories755 (drwxr-xr-x)
Quick presets

Common permission patterns.

Click any preset to instantly load it into the calculator.

Reference

Permission values explained.

Each digit in the octal notation represents one of three permission groups.

Octal values (0–7)

OctalBinarySymbolicDescription
0000---No permissions
1001--xExecute only
2010-w-Write only
3011-wxWrite & execute
4100r--Read only
5101r-xRead & execute
6110rw-Read & write
7111rwxRead, write & execute
4
📖
Read (r)
View file content or list directory
+
2
✏️
Write (w)
Modify file or add/remove files in directory
+
1
▶️
Execute (x)
Run file as program or traverse directory
=
7
🔓
All permissions
4+2+1 = 7 (rwx)

Understanding the 4-digit format

0SpecialSetuid/Setgid/Sticky
7Ownerrwx
5Groupr-x
5Othersr-x

The first digit is the special bits field (Setuid=4, Setgid=2, Sticky=1). The remaining three digits are Owner, Group, and Others respectively.

SEO FAQ REFERENCE

Frequently Asked Questions

Quick answers to common Linux file permission & chmod command queries.