What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command?
The command is SetUID and it will be executed with the effective rights of the owner.
The command will be executed with the effective rights of the group instead of the owner.
The execute flag is not set for the owner. Therefore the SetUID flag is ignored.
The command will be executed with the effective rights of the owner and group.
Referência recomendada para estudo
The uppercase 'S' indicates the SetUID bit is set, but the owner execute bit ('x') is missing, rendering the SetUID bit ineffective.