Advertisement

Chmod Calculator

Calculate Linux/Unix file permissions interactively. Click to toggle, enter octal values, or use common presets.

Enter Octal Value

0

Toggle Permissions

Read (4)
Write (2)
Execute (1)
Owner
r
w
x
Group
r
w
x
Others
r
w
x
Octal
755
Symbolic
rwxr-xr-x
File Type
-rwxr-xr-x
chmod 755 filename

Common Presets

Advertisement

Understanding Linux File Permissions

Linux uses a 3-digit octal number to represent file permissions for owner, group, and others:

  • Read (4) — View file contents or list directory
  • Write (2) — Modify or delete the file
  • Execute (1) — Run the file or access directory
  • Combine values: rwx = 4+2+1 = 7, r-x = 4+0+1 = 5
Advertisement