Toolman 100% local

chmod 774

chmod 774 is rwxrwxr--.

What 774 grants

WhoDigitPermissionsAdds up as
Owner7read, write, execute4 + 2 + 1 = 7
Group7read, write, execute4 + 2 + 1 = 7
Others4read4 = 4

When 774 is the right answer

Owner and group full access, others read only. Used for a group working area whose contents should still be publicly readable.

The command

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

Octal774
Symbolicrwxrwxr--
As a file in ls -l-rwxrwxr--
As a directory in ls -ldrwxrwxr--
Binary111 111 100
World-writableNo

Frequently asked questions

What does chmod 774 mean?

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

How do I apply 774?

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

chmod 774 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 774 in symbolic notation?

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

Other permission values

All permission values · Chmod calculator