Chmod Permissions Calculator

Interactive visual Linux and Unix file permissions calculator, chmod generator, and umask builder.

Tool Guide

Chmod Permissions Calculator: What It Does

Calculates Linux file permission modes between octal numbers (e.g. 755), symbolic notation (rwxr-xr-x), and interactive checkboxes for Owner, Group, and Others. It includes SUID, SGID, and Sticky bits.

Example

Input
755
Output
-rwxr-xr-x

Maps octal values 7 (rwx), 5 (r-x), and 5 (r-x) to standard Unix permission bits.

How to Use

  1. Toggle read (r), write (w), and execute (x) checkboxes for user, group, and public.
  2. Or enter an octal number like 644 to calculate symbolic flags.
  3. Copy the resulting chmod command to execute in your terminal.

Limitations

  • Covers standard POSIX permission flags; advanced ACLs (setfacl) require custom shell commands.
  • Special bits (SUID, SGID) behave differently on directories versus executable binaries.

Frequently Asked Questions

What do the numbers 4, 2, and 1 represent in chmod octal notation?

Read (r) has a binary weight of 4, write (w) has a weight of 2, and execute (x) has a weight of 1. Their sum represents the permission mode.

What is the function of the sticky bit (e.g. in mode 1777 on /tmp)?

The sticky bit prevents users from deleting or renaming files in a shared directory unless they are the file owner or root.

Command-Line Equivalent
chmod 755 script.sh

Grant read, write, and execute permissions to owner and read/execute to others.

Inputs stay in browser memory. No external request is required for this operation, and zero data leaves your device.