Linux permissions

chmod Calculator

Select read, write and execute permissions or enter a numeric mode to see both chmod and symbolic notation.

ReadWriteExecute Owner Group Other

Three digits from 000 to 777. Special bits such as setuid are intentionally not included in this first version.

Local calculation. No filenames, modes or other inputs are sent to a server.

How numeric chmod permissions work

Each permission has a numeric value: read is 4, write is 2, and execute is 1. Add the selected values separately for the owner, group and other users. For example, 7 means read, write and execute, while 5 means read and execute.

The mode 755 becomes rwxr-xr-x. The owner can read, write and execute, while the group and other users can read and execute. A common regular-file mode is 644, which becomes rw-r--r--.

Use permissions carefully

Modes such as 777 grant every user read, write and execute access. They are rarely the right fix for an application problem. Choose the smallest permissions that let the intended user or service do its work.

More practical Linux and hardware projects

Visit my blog and YouTube channel, or inspect and improve this open-source calculator on GitHub.