Chmod Permissions Calculator

Set Unix file permissions and see the equivalent octal mode, symbolic mode, and terminal command.

Calculate permissions

Processed locally
Calculate permissions
Permission matrix
User classReadWriteExecute
Owner
Group
Others

How to use it

Check permissions for each group or edit either mode field. Use a preset for common modes. Replace filename with your file name or path after copying the command.

Frequently asked questions

How do chmod numbers work?

Add 4 for read, 2 for write, and 1 for execute. The three digits represent the owner, the group and other users in that order.

What is the difference between 755 and 644?

With 755, the owner can read, write and execute while the group and other users can read and execute. With 644, the owner can read and write and everyone else can only read. Mode 777 grants all permissions to everyone.

Does this change files or calculate special permission bits?

It calculates standard read, write and execute modes. Setuid, setgid and sticky bits are outside this matrix. Check both the mode and path before running the command.