nerdexam
SUN

310-200 · Question #229

A department needs a directory that can be used to exchange files between department members without allowing other employees access to the files. The department's employees are part of different…

The correct answer is A. chmod g+s dir. See the full explanation below for the reasoning.

Question

A department needs a directory that can be used to exchange files between department members without allowing other employees access to the files. The department's employees are part of different UNIX groups and company policy dictates a umask of 007. You create a new UNIX group named shareit, and make the department's employees part of this group. You also change the ownership of the directory to this group, and set the mode to 0770. What additional setting should you apply?

Options

  • Achmod g+s dir
  • Bchmod u+t dir
  • Cchmod g+t dir
  • Dchmod u+s dir

How the community answered

(17 responses)
  • A
    71% (12)
  • B
    6% (1)
  • C
    18% (3)
  • D
    6% (1)

Community Discussion

No community discussion yet for this question.

Full 310-200 Practice