Fedora and pkexec
Fedora and pkexec
Posted Feb 18, 2022 10:38 UTC (Fri) by farnz (subscriber, #17727)In reply to: Fedora and pkexec by nix
Parent article: Fedora and pkexec
That change happened in the days when systems were relatively static compared to today's setups. So your groups vector would be the same whether you were logged in or not, and thus a SGID binary wouldn't elevate your permissions; you could only use it as a way to elevate someone else to your permissions.
In contrast, giving away files to someone else is a hole in the world where everything's static; it lets you claim their quota, for a start.