chmod 002 FILENAME

chmod -------w- FILENAME

If you only want to provide Write permission then you can use this CHMOD Code: “chmod 002 FILENAME” or “chmod -------w- FILENAME“,

MeaningNumericSymbolic
The Owner (user) has no permissions0---
The Group has no permissions0---
The Public has Write permissions2-w-
Owner
Group
Public