Question about root rights
User Richard Wick posted an answer which explains that the command has to call the setuid function in order to elevate the privileges of the command.
So changing command ownership to root and adding the s bit to the command's file mode is not enough. The command itself must also be written to ask the operating system for root privileges.