LPI
101-400 · Question #49
Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?
The correct answer is A. chmod u=rwx,go=rx /bin/foo. See the full explanation below for the reasoning.
Question
Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?
Options
- Achmod u=rwx,go=rx /bin/foo
- Bchmod o+rwx,a+rx /bin/foo
- Cchmod 577 /bin/foo
- Dchmod 775 /bin/foo
How the community answered
(17 responses)- A76% (13)
- B12% (2)
- C6% (1)
- D6% (1)
Community Discussion
No community discussion yet for this question.