nerdexam
LPI

101-500 · 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. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

GNU and Unix Commands

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

(28 responses)
  • A
    79% (22)
  • B
    4% (1)
  • C
    4% (1)
  • D
    14% (4)

Explanation

You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

Topics

#chmod#file permissions#symbolic notation#ownership/access control

Community Discussion

No community discussion yet for this question.

Full 101-500 Practice