Toolman

chmod 775

chmod 775 is rwxrwxr-x.

What 775 grants

WhoDigitPermissionsAdds up as
Owner7read, write, execute4 + 2 + 1 = 7
Group7read, write, execute4 + 2 + 1 = 7
Others5read, execute4 + 1 = 5

When 775 is the right answer

Owner and group full access, others read and traverse. The usual setting for a directory that a group maintains and a web server or other users need to read.

The command

chmod 775 filename
chmod -R 775 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

Octal775
Symbolicrwxrwxr-x
As a file in ls -l-rwxrwxr-x
As a directory in ls -ldrwxrwxr-x
Binary111 111 101
World-writableNo

Frequently asked questions

What does chmod 775 mean?

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

How do I apply 775?

Run chmod 775 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 775 safe?

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

What is 775 in symbolic notation?

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

Other permission values

All permission values · Chmod calculator