nerdexam
CompTIA

LX0-101 · Question #279

Which of the following commands makes /bin/foo executable by everyone but writable only 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 writable only 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

(33 responses)
  • A
    3% (1)
  • B
    9% (3)
  • C
    12% (4)
  • D
    76% (25)

Community Discussion

No community discussion yet for this question.

Full LX0-101 Practice