chmod 440 (r--r-----) explained

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

Octal
440
Symbolic
r--r-----
ls -l shows
-r--r-----

Who can do what

Class Read (4) Write (2) Execute (1) On a directory
Owner (u)YesNoNoList the file names, but not open them.
Group (g)YesNoNoList the file names, but not open them.
Others (o)NoNoNoNo access.

When to use chmod 440

Lets the owner and the group read, and nobody write.

The mode of /etc/sudoers and its drop-in files: readable by root and its group, writable by no one, so edits must go through visudo.

Commands

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

chmod 440 path/to/file
chmod u=r,g=r,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 440 {} +

chmod -R 440 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