chmod 775 — rwxrwxr-x

775 = rwxrwxr-x: owner and group full, others read/execute.

Updated

775
Octal
rwxrwxr-x
Symbolic
Use with care
Security

What does chmod 775 mean?

chmod 775 gives owner and group full, others read/execute. Like 755 but the group can also write. Common for shared upload or cache directories where the web server and a deploy user share a group.

WhoDigitSymbolicPermissions
Owner (user)7rwxread, write, execute
Group7rwxread, write, execute
Others5r-xread, execute

Each digit is the sum of read (4), write (2) and execute (1). In ls -l the file shows as -rwxrwxr-x and a directory as drwxrwxr-x.

How to use chmod 775

# one file or directory
chmod 775 filename

# the same permissions in symbolic form
chmod u=rwx,g=rwx,o=rx filename

# a directory and everything inside it
chmod -R 775 directory/

# only directories (keep files separate)
find path/ -type d -exec chmod 775 {} +

Need a different combination? Tick the boxes in the chmod calculator to get the octal and symbolic values instantly.

Chmod calculatorToggle read, write and execute for owner, group and others to build any permission.
Open the calculator

Frequently asked questions

What does chmod 775 do?
It sets the permissions to rwxrwxr-x: the owner gets read, write, execute, the group read, write, execute and others read, execute.
What is 775 in symbolic notation?
rwxrwxr-x, or chmod u=rwx,g=rwx,o=rx as a symbolic chmod command.
Is chmod 775 safe?
It is fine in controlled setups, but it grants write access beyond the owner — make sure the group (or everyone, for the sticky bit) is intended.