As far as I know an unprivileged process cannot change its GID. You can see the logic at https://github.com/torvalds/linux/blob/ ... sys.c#L447 . You would need to have the CAP_SETGID capability which is almost the same as root already.
Statistics: Posted by lindi — 2025-01-15 18:56