Earlier quoted context omitted.
Can I just point out that this is just one vivid example of why tying setuid permissions to a file is a terrible design to begin with? Permissions should be derived from the execution context at run time. (People might hate me for saying this, but this is one of those design decisions Windows fundamentally gets right.)
Even Windows gets this wrong at times, with several UAC bypass techniques exposed by auto-elevating binaries. Still, Microsoft has done a great deal of work with the Windows privilege model to prevent things like this, and these issues are steadily being resolved.
According to Raymond Chen, a MSFT employee:
>There really are only two [UAC] settings.
>* Always notify
>* Meh
https://devblogs.microsoft.com/oldnewthing/20160816-00/?p=94...