1.

To remove write permission from group and others, which one of the following commands will be used?(a) chmodgo+w file01(b) chmodgo-w file01(c) chmodug-w file01(d) chmod a-w file01This 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

Answer»

The correct option is (b) chmodgo-w file01

For explanation I WOULD SAY: To remove a certain permission from a category of users we use (-) symbol. So above COMMAND will remove write permission from GROUP and others.



Discussion

No Comment Found

Related InterviewSolutions