Chmod Calculator

Calculate Unix/Linux file permissions

100% Offline
Numeric (Octal)
644
Symbolic
-rw-r--r--
Command
chmod 644

🔐 Permissions

Read (r)Write (w)Execute (x)Value
👤 Owner (u)6
👥 Group (g)4
🌍 Other (o)4

Special Bits

🔢 Numeric Input

3-digit (755) or 4-digit with special bits (4755)

⚡ Common Presets

📊 Permission Values

SymbolValueMeaning
r4Read
w2Write
x1Execute
-0No permission

🔑 Special Bits

BitValueDescription
SetUID (s)4Execute as owner
SetGID (s)2Execute as group
Sticky (t)1Only owner can delete

📝 Symbolic Notation Explanation

-rwxr-xr--
File type

- (file)

d (dir)

Owner

rwx = 7

Group

r-x = 5

Other

r-- = 4

How to Calculate File Permissions

  1. Toggle permission checkboxes for Owner, Group, and Others
  2. Or enter a numeric value (e.g., 755) directly
  3. See the symbolic notation update in real-time
  4. Copy the chmod command for your terminal
  5. Use common presets for standard permission sets

Frequently Asked Questions

What does chmod 755 mean?

755 means: Owner can read/write/execute (7), Group can read/execute (5), Others can read/execute (5). Common for directories and executable scripts.

What's the difference between 644 and 755?

644 (rw-r--r--) is for regular files - owner can read/write, others can only read. 755 (rwxr-xr-x) adds execute permission, needed for directories and scripts.

What are special permission bits?

Special bits include: Setuid (4xxx) - run as owner, Setgid (2xxx) - run as group, Sticky bit (1xxx) - only owner can delete. Used for special system requirements.

Why is chmod 777 dangerous?

777 gives everyone full read/write/execute access. This is a security risk as any user or process can modify or delete the file. Avoid on production systems.

How do I read symbolic notation?

Symbolic notation like 'rwxr-xr--' shows permissions in groups of 3: owner (rwx), group (r-x), others (r--). r=read, w=write, x=execute, -=no permission.

Follow Me