pwn3d.es

CHMOD · LOCAL CALCULATOR

The calculator that speaks chmod.

Tap the matrix or paste a mode; octal, symbolic and both commands update together. Nothing leaves this tab.

← Back to the sheet

Current mode

File permissions

Octal
644
Symbolic
rw-r--r--
Permissions per class
User
Group
Others
Special bits

Presets

Numeric command
chmod 644 file
Symbolic command
chmod u=rw,g=r,o=r file

Load an existing mode

3 or 4 digits, 0–7
9 characters, e.g. rwxr-xr-x

Before you copy

No warnings: this mode does not open writes to others or set special bits.

Quick reference

Binary representation

ClassrwxValue
u1106
g1004
o1004

Examples

  • 644 — readable by everyone, writable only by the owner.
  • 755 — executable by everyone, writable only by the owner.
  • 4755 — SUID + 755: the binary runs as its owner.
  • 1777 — sticky + 777: /tmp, everyone writes but only deletes their own files.

Special symbols

  • s / S s with execute, S without it (SUID).
  • s / S s with execute, S without it (SGID).
  • t / T t with execute, T without it (sticky).

Calculation and copying happen in the browser. This page never runs chmod or touches your files.