chmod 005 FILENAME

chmod ------r-x FILENAME

If you want to provide Read and Execute permission at the same time then you can use this code: “chmod 005 FILENAME” or “chmod -------w- FILENAME“.

MeaningNumericSymbolic
The Owner (user) has no permissions0---
The Group has no permissions0---
The Public has Read and Execute permissions5r-x
Owner
Group
Public