|
|
Subscribe / Log in / New account

A somewhat related problem

A somewhat related problem

Posted Nov 20, 2014 10:21 UTC (Thu) by giggls (subscriber, #48434)
Parent article: The trouble with dropping groups

There is another Problem with traditional group handling in Linux I came across recently.

It is the lack of a system call to change the primary gid of a process in a way the suid utility sg does.

I consider it somewhat broken, that sg has to be suid at all.

It is at least very inconvenient that it is impossible to do inside a binary without an ugly wrapper script or execing itself via sg.

Sven


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds