nerdexam
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)
  • A
    76% (13)
  • B
    12% (2)
  • C
    6% (1)
  • D
    6% (1)

Community Discussion

No community discussion yet for this question.

Full 101-400 Practice