Hello, there is a program, called "theprogram" with the following permissions owned by userA:
-r-sr-sr-x 1 userA userA
This program simply echoes a message and exits. As userB I do the following:
while true; do ./theprogram; done
In another window the top command shows "theprogram" being run as userB who is executing it instead of userA who is the owner. My question is - does this happen because of the command line while loop?

