To remove write permission from group and others, which one of the following commands will be used?
(a) chmod go+w file01
(b) chmod go-w file01
(c) chmod ug-w file01
(d) chmod a-w file01
This question was addressed to me by my school principal while I was bunking the class.
This is a very interesting question from Changing File Ownership and Permissions topic in section Basic File Attributes of Unix