Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →In chmod 755, the three digits describe permissions for the file’s owner, its group, and everyone else—in that order. Each digit adds values for read (4), write (2), and execute or directory search (1). So 755 gives the owner all three permissions and gives group members and others read and execute/search access.
How to read a three-digit chmod mode
Numeric modes are octal, or base 8. GNU Coreutils 9.11 explains that they are interpreted as octal without needing a leading zero. The three ordinary digits map to these user classes:
As an Amazon Associate I earn from qualifying purchases.
- First digit: the file’s owner.
- Second digit: users in the file’s group.
- Third digit: everyone else.
Each digit is the sum of the permission values it includes:
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware match| Value | Permission | Meaning |
|---|---|---|
| 4 | Read | Read a file’s contents; on a directory, list its entries. |
| 2 | Write | Modify a file; on a directory, create or remove entries, subject to other rules. |
| 1 | Execute/search | Run an executable file; on a directory, search or access entries when the user knows their names. |
Add the values to form each digit: 7 is 4+2+1 (read, write, execute/search); 6 is 4+2 (read and write); 5 is 4+1 (read and execute/search); and 4 is read only. For the full definitions, see the GNU Coreutils 9.11 manual’s mode-bit structure and its numeric modes section.
#1 Best Overall
What chmod 644 and chmod 755 allow
The number only makes sense when you know which object it applies to. On a regular file, execute means permission to run it; on a directory, the same bit means search or access. These examples describe the resulting permissions, assuming the command succeeds:
| Command | Owner | Group | Others | Typical effect on a regular file |
|---|---|---|---|---|
chmod 644 file |
Read, write | Read | Read | The owner can edit; group members and others can read, but none can execute it. |
chmod 755 script |
Read, write, execute | Read, execute | Read, execute | The owner can edit and run; group members and others can read and run. |
GNU’s chmod invocation documentation uses chmod 644 foo as an example of making a file readable by everyone while retaining write access for its owner. Neither mode is universally best: choose according to who needs access and whether the target is a file or directory.
Why directory permissions behave differently
For a directory, read allows listing its contents, write allows creating or removing entries, and execute allows searching the directory to access entries. For example, a user needs search permission on a directory to access a known file inside it. Directory write access is not the same as permission to edit every file in that directory; each file’s own permissions and other system rules still matter. GNU Coreutils describes these distinctions in its mode-bit structure documentation.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
What a fourth digit means
A fourth digit at the front represents special mode bits; it is not a fourth user category. Its values are:
| Leading value | Special bit | General effect |
|---|---|---|
| 4 | Set-user-ID | On applicable executable files, affects the effective user ID when run; behavior depends on file type and system. |
| 2 | Set-group-ID | On applicable executable files, affects the effective group ID; on most systems, on a directory it makes new entries inherit the directory’s group, and new subdirectories inherit setgid. |
| 1 | Sticky or restricted-deletion bit | On a directory, restricts who may remove or rename entries: users generally must own the entry or the directory, or have appropriate privilege. |
For example, 4751 combines set-user-ID (4) with owner read, write, and execute (7), group read and execute (5), and other execute (1). Special-bit effects vary by file type and system; consult the GNU Coreutils directory setuid and setgid documentation for GNU’s details.
Does chmod replace permissions or add to them?
A plain numeric mode such as chmod 644 file sets the specified permission bits as a mode; it does not mean “add these permissions to whatever is there now.” The result may also be affected by system rules such as a process umask when permissions are initially created, but a plain numeric chmod is not an incremental addition.
Rank #4
GNU also supports operator numeric modes such as +440, -1, and =600. These use operators to add, remove, or set bits rather than simply applying the ordinary three-digit mode. The GNU manual explicitly notes, “Operator numeric modes are a GNU extension.” Do not assume they are portable to every system. GNU also documents that chmod =755 dir and chmod 755 dir differ in their treatment of setuid/setgid bits on directories. See the operator numeric modes section for those GNU-specific semantics.
Free tools Windows power users keep installed
One-click scans. No signup required.
How to apply a mode without changing the wrong files
- Identify the target. Confirm the exact file or directory. Check ownership and current permissions with a listing such as
ls -l path; a leadingdin the mode display identifies a directory. - Choose the intended access. Decide separately what the owner, group, and other users should be able to do, then add 4, 2, and 1 for each class. Remember that directory execute means search, not running the directory.
- Run chmod on the exact path. For example,
chmod 644 report.txtgives the owner read/write and group and others read access. The command generally requires ownership of the file or appropriate privileges. - Check the result. Run
ls -l pathagain and verify the permission string matches the intended mode. If it does not, check whether you have sufficient privileges and whether the path names a symbolic link or directory.
For a command-line symbolic-link argument, GNU chmod normally changes the target’s permissions, not the link’s. Links encountered during recursive traversal are handled differently. Recursive changes can affect many files, so inspect the scope first—for example, run find project -maxdepth 2 -print before using a recursive command. Only if that list is the exact scope intended should you consider chmod -R 755 project; that command applies broadly and can make files executable as well as directories searchable. GNU documents link handling and recursive behavior in its chmod invocation reference.
Best Value
Further reading
For a broader introduction to using the command line, William Shotts’s The Linux Command Line is a beginner-oriented guide; its author’s page offers a free digital edition. Edition and print availability can change, so check the current listing on that page.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




