🔐

Chmod Calculator

Generate Unix file permissions interactively — toggle checkboxes or enter an octal code to build the right chmod command.

Common Presets

Mode

Permissions

EntityreadwriteexecuteOctalSymbol
Owner7rwx
Group5r-x
Others5r-x

chmod (octal)

chmod 755 filename

chmod (symbolic)

chmod u=rwx,g=rx,o=rx filename

Permission Meaning

Owner
rwx
read, write, execute
Group
r-x
read, execute
Others
r-x
read, execute

About this tool

A Unix file permissions calculator for Linux, macOS, and other POSIX systems. Toggle read, write, and execute checkboxes for Owner, Group, and Others — or type an octal code directly. Generates both octal (chmod 755) and symbolic (chmod u=rwx,g=rx,o=rx) command formats.

☑️Interactive checkboxes for Owner, Group, Others
🔢Octal input mode for direct code entry
📜Both octal and symbolic chmod commands
🏷️Common presets: 755, 644, 600, 777, 700
📋One-click copy of the chmod command
💡Plain-English permission summary

How to use it

Quick steps to get the most out of this utility.

  1. 1

    Pick a preset or enter checkboxes

    Start with a common preset like 755 or toggle individual read/write/execute bits.

  2. 2

    Or use octal input

    Switch to Octal Input mode and type a 3-digit octal code directly.

  3. 3

    Copy the chmod command

    Copy the octal (chmod 755 filename) or symbolic command for your terminal.

Common chmod values for web servers

  • 755 — directories and CGI scripts (owner can write; group and others can read and execute)
  • 644 — regular files like HTML, PHP, and images (owner can write; everyone can read)
  • 600 — sensitive files like SSH private keys and .env files (owner only)
  • 700 — private directories (owner full access; no one else can even enter)
  • 777 — avoid unless absolutely necessary — everyone has full access

Frequently asked questions

What does chmod mean?+

chmod stands for "change mode" — it is the Unix/Linux command used to set file permission bits. It controls which users can read, write, or execute a file or directory.

What do the three octal digits mean in chmod?+

The three digits represent permissions for Owner, Group, and Others (everyone else). Each digit is the sum of read (4), write (2), and execute (1). For example, chmod 755 gives the owner rwx (7 = 4+2+1), group r-x (5 = 4+0+1), and others r-x.

What is chmod 644 used for?+

chmod 644 (rw-r--r--) is the typical permission for regular files: the owner can read and write it, while group and others can only read it. It is the standard for web server files like HTML, CSS, and PHP.

What is chmod 755 used for?+

chmod 755 (rwxr-xr-x) is standard for directories and executable files. The owner has full access; group and others can read and execute but not write. It is the default for most web server directories.

What does execute permission mean on a directory?+

Execute permission on a directory means the ability to "enter" it — to cd into it or access files inside. Without execute, a user cannot navigate into the directory even if they have read permission.

Keep exploring

More utilities and reading from Toolisk.