π chmod Permission Calculator
π chmod Permission Calculator
Visually set file permissions β toggle read/write/execute for owner, group, and others. Get octal, symbolic, and the full command
Owner (u)
Group (g)
Others (o)
Read (r)
Write (w)
Execute (x)
Octal Values
Special Bits
| 0 | --- | No permissions |
| 1 | --x | Execute only |
| 2 | -w- | Write only |
| 3 | -wx | Write + Execute |
| 4 | r-- | Read only |
| 5 | r-x | Read + Execute |
| 6 | rw- | Read + Write |
| 7 | rwx | Full permissions |
Special Bits
setuid (4xxx) β run as file owner
setgid (2xxx) β run as file group
sticky (1xxx) β only owner can delete
Common:
setgid (2xxx) β run as file group
sticky (1xxx) β only owner can delete
Common:
chmod u+x file β add execute for ownerchmod go-w file β remove write for group/otherschmod -R 755 dir/ β recursive