Chmod Calculator

Convert Unix permissions between 755 and rwxr-xr-x.

Runs in your browser Developer Tools Free · No account

Input

Processed locally

This tool runs entirely in your browser. The data you paste or load is never uploaded.

Result

Enter your input, then run the tool.

About this tool

Converts Unix file permissions between numeric (755, 0644) and symbolic (rwxr-xr-x) notation, explains what owner, group and others can do, and prints the matching chmod command, including setuid, setgid and sticky bits.

How to use it

  1. Enter permissions as a number such as 644 or as symbols such as rw-r--r--.
  2. Press Convert.
  3. Read the breakdown and copy the chmod command.

Frequently asked questions

What do 755 and 644 mean?
755 lets the owner read, write and execute, and everyone else read and execute: typical for folders and scripts. 644 is read-write for the owner and read-only for others: typical for files.
What is the fourth leading digit?
It sets special bits: 4 for setuid, 2 for setgid and 1 for the sticky bit, as in 1777 for /tmp.

Keep going

More in this category