Chmod Calculator
Linux permissions made visual.
User Type
Read (4)
Write (2)
Execute (1)
Owner
Group
Public
Advanced Special Bits
SetUID (4)
Run as Owner
SetGID (2)
Inherit Group
Sticky (1)
Restricted Del
Octal Value
Type to update (e.g. 777)
----------
$chmod 000 filename.ext
Linux Permissions Guide
Common Permission Codes
- 777 Full Access: Anyone can read, write, or execute. Dangerous!
- 755 Web Standard: Owner has full access, everyone else can only read/execute.
- 644 File Standard: Owner can read/write, everyone else can only read.
- 400 SSH Keys: Only the owner can read. Highly secure.
Special Bits
These are advanced permissions indicated by the 4th leading digit (e.g. 1777).
- SetUID (4): When a file is executed, it runs with the permissions of the file's owner, not the user running it (e.g.
sudo). - SetGID (2): Files created in this directory inherit the group ID of the directory.
- Sticky Bit (1): Users can only delete files they own inside a shared directory (e.g.
/tmp).
Advertisement