Chmod calculator

Compute your chmod permissions and commands with this online chmod calculator.

About Chmod calculator

Builds a Unix file permission from checkboxes: tick read, write and execute for the owner, the group and everyone else, and get the octal value (such as 755), the symbolic form (rwxr-xr-x) and the ready-to-run chmod command.

When you would use it

How to use it

  1. Tick the permissions for owner (u), group (g) and public (o).
  2. Read the octal and symbolic representations.
  3. Copy the chmod command and replace path with your file or directory.

Things worth knowing

Frequently asked questions

What is the difference between 755 and 644?
Both let the owner read and write and everyone else read; 755 also lets everyone execute. Use 755 for directories and scripts, 644 for ordinary files such as HTML or images.
How do I apply a permission to a whole directory tree?
Add -R to the command (chmod -R 755 dir), but be careful: it gives the same bits to files and directories. Prefer find dir -type d -exec chmod 755 {} + and find dir -type f -exec chmod 644 {} + to treat them separately.

All the tools