On Mon, 03 Jun 2019 16:26:59 -0700, manuel@mausz.at wrote: > I've now replied two times and neither message got attached to this > ticket. In case they do pop up some time later please ignore them :-) > > On Mon, 03 Jun 2019 13:46:11 -0700, jkeenan wrote: > > Could you provide a brief example of how, previously, you would have > > expected to be able to set these supplementary grou IDs? > > A quick example is: > > my $supgid = getgrnam("users"); > > print "old groups=", $), $/; > > $) = "$) $supgid"; > > print "new groups=", $), $/; > > This should add the "users" group to your current supplementary > groups. On Linux you need CAP_SETGID capability (or root) for this to > work. > > On Mon, 03 Jun 2019 14:40:28 -0700, public@khwilliamson.com wrote: > > Could you submit a patch against blead? We also need a test. > > > > The github repository is only a mirror, and is supposed to not be > > able > > to accept pull requests, but that can't be turned off, unfortunately. > > Attached is both my original patch against HEAD and a test I quickly > pulled together. However I have no idea if all supported perl > platforms > will correctly skip respectively test the supplementary groups. > I chose nobody as additional group as it should be available on all > unix > like platforms. Which system did you test this on? My Debian system doesn't have a *group* called "nobody", though it does have a user. There is a group called "nogroup" (but that appears to be Debian specific.) Tony --- via perlbug: queue: perl5 status: open https://rt.perl.org/Ticket/Display.html?id=134169Thread Previous