in reply to Re^3: Setuid script not working
in thread Setuid script not working

strace will give you the same message

setuid32(0) = -1 EPERM (Operation not permitted)

Not that helpful, except it tells you which system call's man page you should be reading.

$ man setuid32 ... EPERM The user is not privileged (Linux: does not have the CAP_SETUID capability) and uid does not match the real UID or saved set-user-ID of the calling process. ...