chmod 750 — what rwxr-x--- means

750 rwxr-x---

The owner can read, write, and execute; the group can read and execute; others are locked out entirely.

Permission breakdown

When to use 750

Directories and scripts shared inside a team or service group but hidden from everyone else on the machine. A typical choice for an application directory owned by a deploy user and run by a service group.

Set it with chmod

Apply this permission to a file:

chmod 750 filename

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

chmod -R 750 directory/

Other common permissions

Or build any permission with the interactive chmod calculator.