Skip to content
Categories
Chmod Calculator
Calculate the octal and symbolic notation for chmod by selecting owner, group, and other permissions.
| Owner | Group | Others | |
|---|---|---|---|
| Read (r) | |||
| Write (w) | |||
| Execute (x) | |||
| setuid / setgid / Sticky bit |
Octal notation755
Symbolic notationrwxr-xr-x
Overview
- Lets you select read, write, and execute permissions for the owner, group, and others via checkboxes, and calculates the corresponding chmod octal notation (e.g. 755) and symbolic notation (e.g. rwxr-xr-x).
- Supports special permissions such as setuid, setgid, and the sticky bit, including 4-digit octal values (e.g. 4755).
- You can also enter an octal or symbolic value to reflect it back into the checkboxes.
Usage
- Select the read, write, and execute checkboxes for the owner, group, and others.
- Select the setuid, setgid, or sticky bit checkboxes if needed.
- The octal and symbolic notation are calculated automatically and can be copied with the copy button.
- To check an existing chmod value (octal or symbolic), paste it into the input at the bottom and click "Apply".
Example
Input
Owner: rwx / Group: r-x / Others: r-x
Output
755 (rwxr-xr-x)
Use Cases
- Checking the octal value to set for the permissions of a file or directory on a server
- Looking up the octal value that corresponds to the symbolic notation shown by `ls -l`
- Understanding and verifying special permission settings involving setuid, setgid, or the sticky bit
FAQ
What are setuid, setgid, and the sticky bit?
setuid and setgid are special permissions that run an executable with the permissions of its owner or group, while the sticky bit prevents users from deleting other users' files in a shared directory.
Do I need to include the leading file type character (like - or d) in symbolic notation?
Either works. You can enter a 9-character value like "rwxr-xr-x", or a 10-character value with a leading type character like "-rwxr-xr-x".
Is the value I enter sent anywhere?
No. All calculation happens entirely in your browser.
Notes
- When none of the special permissions (setuid/setgid/sticky bit) are set, the octal notation is shown as 3 digits.
- This tool only performs the calculation and does not actually change any file or server permissions.
Related Tools
Convert numbers between binary, octal, decimal, and hexadecimal.
Format HTML to make it easier to read.