chmod 770 — what rwxrwx--- means

770 rwxrwx---

Owner and group get full read, write, and execute; everyone else gets nothing.

Permission breakdown

When to use 770

A shared directory for a team where every group member needs to create, edit, and run files, but the file must be invisible to other users on the system. Often paired with the setgid bit (2770) so new files inherit the group.

Set it with chmod

Apply this permission to a file:

chmod 770 filename

Or apply it recursively to a directory and everything inside it:

chmod -R 770 directory/

Other common permissions

Or build any permission with the interactive chmod calculator.