Toolman

chmod 751

chmod 751 is rwxr-x--x.

What 751 grants

WhoDigitPermissionsAdds up as
Owner7read, write, execute4 + 2 + 1 = 7
Group5read, execute4 + 1 = 5
Others1execute1 = 1

When 751 is the right answer

Owner full, group read and traverse, others may traverse but not list. A deliberate choice when a path needs to be reachable without its contents being enumerable.

The command

chmod 751 filename
chmod -R 751 directory/

Because the owner has the execute bit, this works on a directory as well as a file — on a directory, execute is what grants the right to enter it and reach the entries inside.

How it is written elsewhere

Octal751
Symbolicrwxr-x--x
As a file in ls -l-rwxr-x--x
As a directory in ls -ldrwxr-x--x
Binary111 101 001
World-writableNo

Frequently asked questions

What does chmod 751 mean?

It sets owner to read, write, execute, group to read, execute, others to execute. In symbolic notation that is rwxr-x--x.

How do I apply 751?

Run chmod 751 filename. Add -R to apply it to a directory and everything inside, though be careful: a recursive numeric chmod marks every file the same way, which is rarely correct for a mixed tree of files and directories.

Is 751 safe?

It grants no write access outside the owner, so it is a reasonable setting as long as the owner is the account you intend.

What is 751 in symbolic notation?

rwxr-x--x. Written as ls -l shows it, with a leading file-type character, an ordinary file would appear as -rwxr-x--x and a directory as drwxr-x--x.

Other permission values

All permission values · Chmod calculator