Linux Chmod Calculator

Interactive Linux file permissions (chmod) calculator supporting octal, symbolic notations, special bits (SUID, SGID, Sticky), and command generator.

Octal Notation
0755
Symbolic Notation
-rwxr-xr-x
Linux Shell Command
chmod 755 /var/www/html

Permissions Matrix

Read(4) + Write(2) + Execute(1)
IdentityRead (r / 4)Write (w / 2)Execute (x / 1)Octal
Owner / User (u)
File creator
7
Group (g)
Users in group
5
Others / Public (o)
All other users
5
Special Bits
SUID / SGID / Sticky
0

Common Permission Presets

Command Options

Summary of Rights:
  • Owner: Read Write Execute
  • Group: Read Execute
  • Others: Read Execute

About Linux Chmod Calculator — Detailed Guide

The Linux chmod Permissions Calculator visually determines and translates file and directory access permissions. It maps Read (r/4), Write (w/2), and Execute (x/1) bits across User (Owner), Group, and Others.

It translates bi-directionally between octal notation (e.g. 755, 644, 700) and standard Linux symbolic strings (`-rwxr-xr-x`). It also fully accommodates special permission bits (SUID, SGID, Sticky Bit) alongside verified sysadmin presets.

#chmod #linux #permission #octal #symbolic #file-permissions #sysadmin

Key Features & Capabilities

  • Bi-directional translation between 3/4-digit octal notation and symbolic representations
  • Interactive 3x3 permission grid for Owner, Group, and Others across Read/Write/Execute
  • Full support for advanced special bits: SUID (4000), SGID (2000), and Sticky Bit (1000)
  • Convenient quick presets for SSH keys (600), web scripts (755), and documents (644)

How to Use

  1. 1

    Check or uncheck permissions in the grid, or enter an octal number like 755.

  2. 2

    Optionally toggle special bits (SUID, SGID, or Sticky Bit) for directory workflows.

  3. 3

    Copy the formatted symbolic string or the synthesized `chmod` terminal command.

Common Use Cases

  • → Resolving "UNPROTECTED PRIVATE KEY FILE" errors by locking SSH keys to 600
  • → Setting safe permission baselines for web directories (755) and static assets (644)
  • → Configuring shared Linux directories with the Sticky Bit (1777) to prevent unauthorized deletions

Related Tools

Frequently Asked Questions & Privacy

What do the three digits in 755 represent?

The first digit (7 = 4+2+1) grants read, write, and execute to the Owner; the second digit (5 = 4+1) grants read and execute to the Group; and the third digit (5 = 4+1) grants read and execute to Others.

What is the purpose of the Sticky Bit on directories?

Represented by octal 1000 (and flag `t`), the Sticky Bit ensures that only the file owner or root can delete or rename files inside that directory, even if others have write permissions.