nerdexam
LPI

101-400 · Question #173

Which of the following commands makes /bin/foo executable by everyone but only writable by its owner?

The correct answer is D. chmod 755 /bin/foo. See the full explanation below for the reasoning.

Question

Which of the following commands makes /bin/foo executable by everyone but only writable by its owner?

Options

  • Achmod 557 /bin/foo
  • Bchmod o +rwx, a+rx /bin/foo
  • Cchown 557 /bin/foo
  • Dchmod 755 /bin/foo

How the community answered

(39 responses)
  • A
    13% (5)
  • B
    3% (1)
  • C
    8% (3)
  • D
    77% (30)

Community Discussion

No community discussion yet for this question.

Full 101-400 Practice