Since 2010 · Powering 2M+ tool runs every month
Since 2010
Add to Chrome

My Toolbox

Automatic Mode

No saved tools yet.

Go Premium
Related tools
Cron Job GeneratorcURL Command BuilderHtaccess Redirect GeneratorRobots.txt Generator
Home Page > Webmaster Tools

Unix Permission Calculator (chmod)

Select read, write, and execute permissions or enter an octal code like 755 in MiniWebtool’s Unix Permission Calculator to generate chmod commands and view security risk assessments.

Need help using this tool? Ask AI

For Gemini, paste the copied question into the chat. You can also copy it below.

View the question

Free to useNo sign-up requiredInstant Results
Unix Permission Calculator (chmod)Try it now — free ▼
chmod 755 = rwxr-xr-x: owner all, group and others read and run

Type a three-digit octal value or tick the read, write and execute boxes for owner, group and others. The result shows the octal and symbolic forms and the chmod command.

Read (4)
Write (2)
Execute (1)
Owner
7
Group
5
Others
5
Special Permissions
SetUID (4) Run as file owner
SetGID (2) Run as file group
Sticky Bit (1) Restrict deletion
Enter Octal:

Moderate Exposure

Others can read or execute. Ensure this is intentional.

Octal Notation
755
Symbolic Notation
-rwxr-xr-x
chmod Command
chmod 755 filename
Terminal — ls -l preview
$ ls -l
-rwxr-xr-x 1 user group 4096 Jan 27 12:00 my_file.txt
Quick Presets

Embed Unix Permission Calculator (chmod) Widget

About Unix Permission Calculator (chmod)

About Unix Permission Calculator

This Unix Permission Calculator (chmod calculator) helps you understand and calculate Linux/Unix file permissions. It provides an interactive visual interface to set permissions and instantly see the corresponding octal notation, symbolic notation, and ready-to-use chmod commands.

File permissions in Unix/Linux systems control who can read, write, or execute files and directories. Understanding these permissions is essential for system security, web server configuration, and proper file management.

At a Glance

Unix Permission Calculator (chmod) turns read, write and execute choices into octal and symbolic permissions and a chmod command. Click the permission grid or enter an octal code such as 755.

Unix Permission Calculator (chmod): features at a glance
FeatureWhat you getGood for
Permission gridToggle read (4), write (2) and execute (1) for owner, group and others, or type an octal value such as 755 to fill the grid.Working out a mode without doing the arithmetic
Octal and symbolicShows both forms together, for example 755 and rwxr-xr-x, plus a ready-to-copy chmod command.Translating between numeric and letter notation
Special permissionsSwitch on SetUID, SetGID and the sticky bit, which add a leading digit of 4, 2 or 1.Shared directories such as /tmp and executables that run as their owner
File typeChoose regular file, directory or symbolic link.Seeing the full ls -l style string for the right object
Terminal previewDisplays what the permissions look like in ls -l output.Checking a setting before running it on a server
Risk assessmentRates the chosen permissions with a visual indicator, and preset buttons load common settings such as 644, 755 and 600.Reviewing web server file and folder permissions

Understanding Unix Permissions

Permission Types

User Categories

Octal vs Symbolic Notation

Unix Permission Calculator (chmod): Octal vs Symbolic Notation
OctalBinarySymbolicDescription
0000---No permissions
1001--xExecute only
2010-w-Write only
3011-wxWrite and execute
4100r--Read only
5101r-xRead and execute
6110rw-Read and write
7111rwxFull permissions

Common Permission Settings

Unix Permission Calculator (chmod): Common Permission Settings
OctalSymbolicUse Case
644rw-r--r--Standard files (HTML, CSS, images)
755rwxr-xr-xDirectories and executable scripts
600rw-------Private files (SSH keys, passwords)
700rwx------Private directories and scripts
664rw-rw-r--Group-collaborative files
775rwxrwxr-xGroup-collaborative directories
777rwxrwxrwxFull access (NOT recommended)

Special Permissions

SetUID (4xxx)

When set on an executable file, the program runs with the file owner's privileges instead of the user running it. Example: /usr/bin/passwd runs as root to modify /etc/shadow.

SetGID (2xxx)

On executables, runs with the group's privileges. On directories, new files inherit the directory's group instead of the creator's primary group.

Sticky Bit (1xxx)

On directories, prevents users from deleting files they don't own. Essential for shared directories like /tmp.

Security Best Practices

How to Use This Calculator

  1. Select the file type (regular file, directory, or symbolic link)
  2. Click the permission cells to toggle Read, Write, and Execute for each user category
  3. Or enter an octal value directly (like 755) to see the corresponding permissions
  4. Enable special permissions (SetUID, SetGID, Sticky Bit) if needed
  5. Review the security assessment and terminal preview
  6. Copy the chmod command to use in your terminal

Frequently Asked Questions

What is chmod in Unix/Linux?

chmod (change mode) is a Unix/Linux command used to change the access permissions of files and directories. It controls who can read, write, or execute a file. Permissions are set for three categories: owner (user who owns the file), group (users in the file's group), and others (everyone else).

What do the numbers in chmod mean (like 755 or 644)?

In chmod, each digit represents permissions for owner, group, and others respectively. Each digit is the sum of: 4 (read), 2 (write), and 1 (execute). For example, 755 means owner has full access (7=4+2+1), while group and others can read and execute (5=4+1).

What is the difference between symbolic and octal notation?

Octal notation uses numbers (like 755) where each digit represents combined permissions. Symbolic notation uses letters: r (read), w (write), x (execute), and - (no permission). For example, rwxr-xr-x is the symbolic form of 755.

What are SetUID, SetGID, and Sticky Bit?

These are special permissions: SetUID (4) allows a program to run with the owner's privileges. SetGID (2) runs with group privileges or inherits directory group. Sticky Bit (1) on directories prevents deletion of files by non-owners.

Why is chmod 777 considered dangerous?

chmod 777 gives everyone full read, write, and execute permissions. This is dangerous because any user can modify or delete the file, potentially leading to security vulnerabilities, malware injection, or data loss.

Reference this content, page, or tool as:

"Unix Permission Calculator (chmod)" at https://MiniWebtool.com/unix-permission-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: Jan 27, 2026

Chat with your favorite AI

For Gemini, paste the copied question into the chat. You can also copy it below.

View the question

Webmaster Tools:

Top & Updated:

Unix Time ConverterGit Command GeneratorRedirect CheckerView all →
Home Page > Webmaster Tools > Unix Permission Calculator (chmod)