chmod 550 (r-xr-x---) explained

The owner can read and execute; the group can read and execute; others have no access.

Octal
550
Symbolic
r-xr-x---
ls -l shows
-r-xr-x---

Who can do what

Class Read (4) Write (2) Execute (1) On a directory
Owner (u)YesNoYesList the files. Enter it and open files inside.
Group (g)YesNoYesList the files. Enter it and open files inside.
Others (o)NoNoNoNo access.

When to use chmod 550

Lets the owner and the group read and execute, nobody write, and gives nothing to others.

Useful for deployed scripts or application directories that a service group runs but must never modify.

Commands

Set the mode with octal digits, or with the equivalent symbolic form:

chmod 550 path/to/file
chmod u=rx,g=rx,o= path/to/file

To apply it to every directory below a folder (and not to the files), combine it with find:

find path/to/folder -type d -exec chmod 550 {} +

chmod -R 550 changes files and directories alike, which is rarely what you want: directories usually need execute, regular files usually should not have it.

Work out any mode in the Chmod Calculator