ToolNest

Chmod Calculator

Linux permissions: octal ⇄ symbolicRuns locally · nothing uploaded

Read rWrite wExecute x#
Owner (u)7
Group (g)5
Others (o)5
Special bits
chmod 755 script.sh
Common permissions
PermissionSymbolicTypical use
-rw-r--r--Regular files: owner read/write, others read
-rwxr-xr-xDirectories, scripts and executables
-rw-------Private files such as SSH keys
-rwx------Private directories such as ~/.ssh
-rwxrwxr-xShared group directories
-rw-rw-rw-Everyone can read/write (insecure)
-rwxrwxrwxEveryone can do everything (avoid)
-rwxrwxrwtShared dirs like /tmp (sticky bit)
Also works as:chmod 755unix permissions calculatorrwx calculator

How to use

  1. 1Tick permissions or type an octal value.
  2. 2Add special bits if needed.
  3. 3Copy the chmod command.

FAQ

What does 755 mean?

Owner read/write/execute, group and others read/execute: rwxr-xr-x.

Why avoid 777?

Anyone can modify and run the file, which is a security risk.