Linux

chmod Permission Calculator

Convert between octal and symbolic file modes, including setuid, setgid and the sticky bit.

Permissions
File permissions by class
ClassRead (4)Write (2)Execute (1)Digit
Owner6
Group4
Other4
Special bits
Octal

Four digits including the special bits: 0644

Symbolic

Also accepts the leading type character from ls -l.

Command
chmod 644 <file>

Symbolic form: chmod u=rw,g=r,o=r <file>

  • The owner can read, write.
  • Group members can read.
  • Everyone else can read.
Common modes