Chmod Calculator

Link Linux permission checkboxes, octal modes and symbolic rwx text. Understand files, directories and special bits with a local chmod calculator.

How to use ↗

Opening the local workspace…

Understand Linux permission modes

  1. Choose File or Directory.
  2. Type an absolute octal mode or rwx string, or select owner, group and other permissions.
  3. Expand special permissions for setuid, setgid and sticky bits.
  4. Copy a mode or the labelled GNU command example. Commands are never executed here.

Formats, output and limits

One to four octal digits or nine permission characters with an optional matching -/d prefix; mode 0–4095. Relative commands, ACL suffixes and full ls records are unsupported. Working values stay in tab memory.

A worked example

755 is rwxr-xr-x: owner has read/write/execute; group and others have read/execute. 4755 adds setuid, giving rwsr-xr-x. 4644 instead has uppercase S because owner execute is absent.

Common questions

Is directory execute permission the same as running a file?

No. For directories it allows search/traversal. Read lists entries, while write affects entries and is constrained by other permissions and sticky-bit rules.

Does 777 guarantee my application will work?

No. It grants broad mode bits but ownership, ACLs, mounts, parents and system policy also affect access. Select a mode appropriate to your actual sharing needs.

Why does the directory command use =?

The File example uses a numeric mode, such as chmod -- 755 'YOUR_FILE'. The Directory example uses GNU chmod -- =0755 'YOUR_DIRECTORY' to explicitly request the selected special bits too. Plain numeric directory modes can preserve setuid/setgid. The equals form is a GNU extension; -- ends options before the mode and path. Replace the quoted placeholder yourself. No recursive option is included and the site runs no commands.

Choose a tool

Applies only in this browser.

Leave this workspace?

Your selected files, entered details and generated output will be cleared. Download your result before leaving, or keep working.

Preview motion effects

This sample follows your Motion choice. Device setting follows this browser’s reduced-motion preference; Smooth effects enables the animations here. Your choice is separate in each browser.

Your workspace

Choose a template

Add your hours

Preview and download