chmod 550 — what r-xr-x--- means
550
r-xr-x---
Owner and group can read and execute, but nobody can write; others have no access.
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 550
A locked-down executable or script that should run but never be modified — even by its owner — without an explicit chmod first. Good for a deployed binary you want protected from accidental edits.
Set it with chmod
Apply this permission to a file:
chmod 550 filename
Or apply it recursively to a directory and everything inside it:
chmod -R 550 directory/
Other common permissions
Or build any permission with the interactive chmod calculator.