nerdexam
LPI

101-500 · 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. 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 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

(29 responses)
  • A
    3% (1)
  • B
    3% (1)
  • D
    93% (27)

Explanation

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

Topics

#chmod#file permissions#octal notation#permission bits

Community Discussion

No community discussion yet for this question.

Full 101-500 Practice