chmod 775 — what rwxrwxr-x means
775
rwxrwxr-x
The owner and group can read, write, and execute; others can read and execute but not modify.
Note: this grants group or shared write access — fine for team directories, but make sure that is what you intend.
Permission breakdown
When to use 775
Shared project or directory where a whole team (the group) collaborates and writes, while the public can still read and run. Often paired with the setgid bit so new files inherit the group.
Set it with chmod
Apply this permission to a file:
chmod 775 filename
Or apply it recursively to a directory and everything inside it:
chmod -R 775 directory/
Other common permissions
Or build any permission with the interactive chmod calculator.