How to set permission "-rw-rw-r--" to file?
Solution 1:
Either
chmod a-x,g+w file
or
chmod ug=rw,o=r file
or using octal representation
chmod 664 file
Either
chmod a-x,g+w file
or
chmod ug=rw,o=r file
or using octal representation
chmod 664 file