609Software EngineeringMedium
Which command is used with file named ‘note’ to remove the executable permission from the user and assign read permission to the group and others?
Achmod go+r, u+x note
Bchmod u-x, go+r note
Cchmod g-x, uo+r note
Dchmod go+x, u-x note
Correct answer
B. chmod u-x, go+r note
Explanation
The correct answer is chmod u-x, go+r note.