Search tools

Chmod Calculator

Convert Linux permissions between checkboxes, numbers (755) and letters (rwxr-xr-x) — and get the exact chmod command.

Chmod Calculator tool

ReadWriteExecute
Owner (u)
Group (g)
Others (o)
Special bits

chmod 755 file

Processing runs in your browser.

Unix permissions decide who can read, change and run each file. The numeric form is compact but cryptic, and a wrong digit can either lock you out or expose a file to everyone on the server. This calculator shows all three notations side by side and explains the result in words.

When you’ll need it

  • Deploying websites and fixing “permission denied” errors.
  • SSH keys: set private keys to 600 so SSH accepts them.
  • Scripts: make a file executable with 755.
  • Shared servers: give a team group access with 664 and 775.

How to use the Chmod Calculator

  1. Tick read, write and execute for the owner, group and others — or type an octal number or a symbolic string.
  2. All three views update together, with a plain-English description.
  3. Add special bits (setuid, setgid, sticky) if you need them.
  4. Copy the ready-made chmod command.

Features

  • Two-way conversion between checkboxes, octal and symbolic notation.
  • Special permission bits, shown as s, S, t and T in symbolic form.
  • Plain-English summary of who can do what.
  • Warning for world-writable permissions such as 777.
  • Presets for common cases: 644, 755, 600, 700, 664 and 775.

Frequently asked questions

What does chmod 755 mean?

The owner can read, write and execute (7 = 4 + 2 + 1); the group and everyone else can read and execute (5 = 4 + 1). It’s the usual setting for scripts, programs and directories.

What permissions should web files have?

Typically 644 for files and 755 for directories: the owner can edit, and the web server can read. Private keys and config files with passwords should be 600 or stricter.

Why is 777 dangerous?

It lets any user or process on the server modify the file. On a web server, that can let an attacker who compromises any account change your code. There’s almost always a narrower fix, such as changing the owner.

What does execute mean on a directory?

On a directory, execute (x) means permission to enter it and access files inside. Without it, users can’t open files in the folder even if they can read the folder listing.

Written by