CHMOD Configurator
Calculate Linux file permissions using checkboxes, octal numbers, or symbolic notation.
Owner
Group
Public
Special bits
A fourth digit in front, like the 1 in 1777. Most files and folders don't need one.
Symbolic Notation
Command Line Example
How to use this tool
Identify the three permission classes
Linux permissions apply to three classes: Owner (the user account that currently owns the file, often the creator initially), Group (a collection of users sharing permissions), and Public (everyone else). Decide what each class should be able to do.
Choose Read, Write, and Execute for each class
For each class, toggle Read (4), Write (2), and Execute (1). The calculator updates the octal code and symbolic notation live as you check or uncheck boxes.
Read the octal code
Add the values for each class to get a single digit: Read + Write + Execute = 7, Read + Execute = 5, Read only = 4. Concatenate the three digits (Owner, Group, Public) to get the octal code like 755 or 644.
Run the chmod command
Apply the permissions in your terminal with `chmod <octal> <file>`, for example `chmod 755 script.sh`. Add the -R flag to apply recursively to a directory and everything inside it.
About this tool
The CHMOD Configurator turns Linux file permissions into checkboxes. Instead of memorizing octal numbers, click the permissions you want to grant the Owner, Group, and Public.
As you toggle a box, the calculator updates the octal code (like 755 or 644) and the matching symbolic notation. You can also type an octal number into the input box to see which permissions it grants.
Understanding the three classes
Linux permissions are applied to three distinct classes of users. The 'Owner' is the user account that currently owns the file, often the creator initially. The 'Group' is a collection of users who share the same permissions. 'Public' (or Others) applies to everyone else on the system.
The fourth digit: setuid, setgid and sticky
A mode can have a fourth digit in front. Setuid is 4, setgid is 2 and sticky is 1, and 0 sets none of them. In the symbolic notation, setuid takes the owner's execute spot, setgid the group's and sticky the public's. A small s or t means execute is on too, and a capital S or T means it's off.
Setuid runs a program as its owner. That's why /usr/bin/passwd is 4755 (-rwsr-xr-x): it runs as root, so it can save your new password in a file only root can write. Setgid on a folder gives new files the folder's group, which suits a shared project folder at 2775 (drwxrwsr-x). Sticky is for shared folders. /tmp is 1777 (drwxrwxrwt), so everyone can create files there but can only delete their own.
Folders have one catch. GNU chmod, which most Linux systems use, keeps setuid and setgid on a folder when a numeric mode leaves them off. So chmod 755 on a 2775 folder gives 2755 (drwxr-sr-x), and chmod 0755 does too. To turn setgid off, run chmod g-s, or u-s for setuid. You can also add one more zero, like chmod 00755, which sets both exactly as the mode says.
When to use -R (Recursive)
By default, running a chmod command only changes the permission of that exact file or folder. If you want to change a folder and every file inside it at once, add the -R flag (e.g. chmod -R 755 myfolder).
Popular permission scenarios
Pre-explained permission sets with octal, symbolic, and use-case guidance.
Frequently asked questions
What does chmod 777 mean?
What does chmod 755 mean?
What does chmod 644 mean?
Is chmod 0755 the same as 755?
How do the numbers 4, 2, and 1 work?
Related tools
Subnet Calculator
Calculate network address, broadcast address, and usable IP ranges for IPv4/IPv6.
Use toolUnix Timestamp
Convert between Unix timestamps and human-readable dates.
Use toolJSON Formatter
Validate, format, and minify JSON. Browse it as a tree, run JSONPath queries, compare two documents, or validate against a JSON Schema.
Use toolPassword Generator
Generate secure, random passwords locally in your browser.
Use toolUse this tool on your own site
Drop the CHMOD Configurator into your blog, docs, or CMS with one iframe snippet. Free, no signup. See all embeddable tools