Removing file permissions in Linux
Question:
What command removes the write permission for the group from a file?
- chmod g=w some_file
- +chmod g-w some_file
- chmod w-g some_file
- chmod w=g some_file
Answer:
B - is the correct answer. The chmod g-w some_file command can be used to remove write permission for the group from some_file file