Security / LOCAL TOOL

chmod & Unix Permissions Calculator

Translate Unix file permissions between octal, symbolic, and chmod command forms.

Runs locally — input is never uploaded
Octal or symbolic mode
Read, write, execute
owner
group
other
Special bits
ResultLive calculation
Octal755
Symbolicrwxr-xr-x
Commandchmod 755 'file'
Special bits

4xxx · setuid runs an executable with its owner's privileges.

2xxx · setgid runs with the file's group privileges; on directories, new files inherit that group.

1xxx · sticky on a shared directory lets only an item's owner, the directory owner, or root remove it.

WHAT IT DOES

Read a chmod mode before it reaches a server.

Enter a Unix permission mode as octal digits or symbolic rwx text and see the individual owner, group, and other permissions, special bits, and the exact chmod command to run. The checkboxes and text form stay synchronized, so a mode such as 4755 is understandable before it is copied into a deployment script.

Why use it?

Use it to translate Unix permission notation into the access each class receives before copying a chmod command.

How to use this tool

  1. Enter an octal mode or nine-character permission string, or adjust the permission controls.
  2. For example, 644 means owner read/write and group/other read; it does not give anyone execute permission.
  3. Check the path and special bits before copying the command. The page changes no filesystem permissions, and the same bits have different practical consequences on files and directories.

Details and limitations

  • Three-digit modes such as 644 and four-digit modes such as 4755 are accepted, including setuid, setgid, and sticky bits.
  • Symbolic modes use the familiar nine-character form, including S and T when a special bit is set without execute permission.
  • The command path is quoted locally so a filename containing spaces or a single quote is not silently changed.
  • Common modes such as 000, 600, 644, 700, 755, 775, 777, 4755, 2755, 1777, and 6755 are represented directly by the calculator.

COMMON QUESTIONS

chmod Calculator questions

Does this run chmod?
No. It only calculates and copies a command for you to run on the intended machine.
What does the first octal digit mean?
It carries special bits: setuid is 4, setgid is 2, and sticky is 1. A leading zero is optional when you enter a four-digit mode.
Are symbolic modes like rwxr-xr-x supported?
Yes. The calculator accepts the nine permission characters and the s, S, t, and T forms for special bits.