chmod 030 FILENAME

chmod -----x--- FILENAME

To provide Write and Execute only to the Group you need to use this code: “chmod 030 FILENAME” or “chmod ----wx--- FILENAME

MeaningNumericSymbolic
The Owner (user) has no permissions0---
The Group has Write and Execute permissions3-wx
The Public has no permissions0---
Owner
Group
Public