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 600 sets permissions so that only the owner can read and write the file, while group members and others have no permissions at all. This is commonly used for files containing sensitive information that should only be accessible by the owner, such as private keys or certain configuration files. For instance, 'chmod 600 id_rsa' is often recommended for SSH private key files.