← back to flaviocopes.com

Chmod calculator

← All tools

Toggle read/write/execute bits, type an octal value, or paste anls -l string — all three stay in sync.

~~~

Permission grid

ReadWriteExecute
Owner
Group
Others
~~~

Octal

Symbolic (ls -l)

Result

Octal:  ·  Symbolic:

Common presets

~~~
~~~

About this tool

chmod sets who can read, write, or execute a file. Octal notation (like 755) is what you type in the shell; symbolic notation (like -rwxr-xr-x) is whatls -l shows. This calculator keeps both in sync so you can start from whichever format you have.

Remember: directories need the execute bit to be entered (cd), even if you only care about listing them. Scripts need execute for the shebang to run.

~~~

Read more