Chmod Calculator Online | Linux File Permissions Tool
🐧 Compact Linux Utility

Chmod Calculator

Translate numerical Unix permissions (like 755 or 666) instantly.

AD SLOT TOP
Owner (User)
Group
Public (Other)
$ chmod 0666 file
Loading translation...

💻 How Chmod Math Works

In Unix/Linux, permissions are determined by adding numbers: Read=4, Write=2, Execute=1. To allow Read + Write, add 4+2 to get 6. The three digits in `chmod 755` represent permissions for the Owner, Group, and Public respectively.

AD SLOT MIDDLE

Linux File Permissions FAQ

1. What does chmod 777 mean?

It means absolute freedom. The Owner, Group, and Public can all Read, Write, and Execute the file. Warning: This is highly insecure and generally should not be used on web servers.

2. What does chmod 666 mean?

It means everyone can Read and Write the file, but nobody can Execute it as a program. (4 Read + 2 Write = 6). It is common for text files that multiple users need to edit.

3. What does chmod 755 mean?

The Owner has full control (7). The Group and Public can only Read and Execute (5). This is the standard, secure permission for directories and executable scripts.

4. What does chmod 644 mean?

The Owner can Read and Write (6). Everyone else can only Read (4). This is the standard, secure permission for basic files like HTML, CSS, or images on a web server.

5. Why is there a leading zero (e.g., 0755)?

The leading zero specifies special permission modes (SetUID, SetGID, and Sticky Bit). In most basic daily usage, `0755` functions identically to `755`.

6. What does "Execute" mean for a directory?

Unlike a file where "execute" runs a script, "execute" on a directory allows a user to `cd` into it and access the files inside. Without execute, you cannot open the folder.

7. What do the symbolic letters mean?

The string `-rwxr-xr-x` is broken down into chunks. The first character is the type (`-` for file, `d` for directory). The next three are Owner permissions, then Group, then Public.

8. How do I change permissions recursively?

Use the `-R` flag. For example, `chmod -R 755 folder_name` will apply the 755 permissions to the folder and every single file inside it.

9. Who is the "Owner"?

The Owner is usually the user who created the file. You can change the owner of a file using the `chown` command.

10. Who is "Public" or "Other"?

This refers to any user on the system who is not the Owner and is not a member of the assigned Group. It is literally "everyone else."