Chmod Calculator
Free chmod calculator: convert Linux file permissions between octal (755) and symbolic (rwxr-xr-x) with checkboxes, including setuid, setgid and the sticky bit.
| Read | Write | Execute | |
|---|---|---|---|
| Owner | |||
| Group | |||
| Others |
Common permissions
Also: IP Subnet Calculator Β· Cron Expression Generator Β· Markdown Table Generator
What it does
Each file has three sets of permissions, for the owner, the group and everyone else, and each set has read (4), write (2) and execute (1). Adding them gives one octal digit per set: 7 = rwx, 5 = r-x, 4 = r--. A fourth leading digit sets the special bits: setuid (4), setgid (2) and sticky (1).
How to use it
- Tick the permissions you want, or type an octal number or a symbolic string.
- The octal, symbolic and command forms update together.
- Copy the chmod command and run it in the terminal.
Frequently asked questions
What do 755 and 644 mean?
755 (rwxr-xr-x) lets the owner do everything and everyone else read and run: the usual setting for folders and scripts. 644 (rw-r--r--) lets the owner edit and everyone else only read: the usual setting for ordinary files.
Is chmod 777 safe?
Rarely. 777 lets any user on the system change or replace the file, which is a common way for web servers to be compromised. Give write access only to the owner, or to a group that needs it.