Chmod Calculator (Linux Permissions)

Convert Linux file permissions between octal (755) and symbolic (rwxr-xr-x) notation and see exactly who can read, write and execute.

Runs on your device

Result

Results appear here as you type.

What it does

Each digit is the sum of read (4), write (2) and execute (1) for owner, group and others. Type either form to get the other plus a permission table.

How to use it

  1. Type octal (644) or symbolic (rw-r--r--).
  2. Read the permissions for each class.
  3. Copy the chmod command.

Example

The example fills in realistic values and runs the tool. Select Try an example above to see it.

When it helps

  • Fixing "permission denied" on servers.
  • Setting correct permissions on shared hosting.
  • Linux coursework.

Questions

What should web files use?

Typically 644 for files and 755 for folders on shared hosting. Never use 777.

What about the leading digit like 4755?

Special bits (setuid, setgid, sticky) are accepted but only the last three digits are explained.

More developer tools

See all 25

People also use

Browse all 200 tools