PrepAway - Latest Free Exam Questions & Answers

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

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

PrepAway - Latest Free Exam Questions & Answers

A.
The command is SetUID and it will be executed with the effective rights of the owner.

B.
The command will be executed with the effective rights of the group instead of the owner.

C.
The execute flag is not set for the owner. Therefore the SetUID flag is ignored.

D.
The command will be executed with the effective rights of the owner and group.

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

  1. director47 says:

    The answer is C .

    if the S is capitalized then it means the execute was not set for that user or group. if it is lowercase then it means the execute was set for it.

    i.e
    -rwxrw-r– is -rws-rw-r–
    and
    -rw-rw-r– is -rwS-rw-r–




    0



    0

Leave a Reply