Linux Administration
medium

Pregunta de Linux Administration #019e3987

Enunciado de la Pregunta
Linux Administration
#setuid
#permissions
#binary
#effective-uid
Medio

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

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.

Correcto
D

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

Explicación Oficial / Explicaciones de la Comunidad

The uppercase 'S' indicates the SetUID bit is set, but the owner execute bit ('x') is missing, rendering the SetUID bit ineffective.