Easily calculate and convert chmod permissions between Numeric (e.g. 777), Symbolic (e.g. +x), and RWX notations (e.g. rw-r--r--).
Check any permission box or input any Chmod options to get instant calculation results !
r w x | |||
---|---|---|---|
4 2 1 | |||
Decimal | Calculation | Symbolic | Description |
0 | 0 + 0 + 0 | - - - | none |
1 | 0 + 0 + 1 | - - x | execute only |
2 | 0 + 2 + 0 | - w - | write only |
3 | 0 + 2 + 1 | - w x | write and execute |
4 | 4 + 0 + 0 | r - - | read only |
5 | 4 + 0 + 1 | r - x | read and execute |
6 | 4 + 2 + 0 | r w - | read and write |
7 | 4 + 2 + 1 | r w x | read, write, and execute |
chmod 644 sets permissions so that the owner can read and write the file, while group members and others can only read it. This is a common permission set for regular files that should be readable by everyone but only modifiable by the owner. It's often used for configuration files or web content that needs to be readable by a web server but not writable by it.