nerdexam
LPI

101-400 · Question #66

What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command?

The correct answer is C. The execute flag is not set for the owner. Therefore the SetUID flag is ignored. See the full explanation below for the reasoning.

Question

What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command?

Options

  • AThe command is SetUID and it will be executed with the effective rights of the owner.
  • BThe command will be executed with the effective rights of the group instead of the owner.
  • CThe execute flag is not set for the owner. Therefore the SetUID flag is ignored.
  • DThe command will be executed with the effective rights of the owner and group.

How the community answered

(23 responses)
  • A
    4% (1)
  • B
    13% (3)
  • C
    74% (17)
  • D
    9% (2)

Community Discussion

No community discussion yet for this question.

Full 101-400 Practice