HomePhorge

(#12459) drop supplementary groups when permanently dropping UID
76d0749f0a9aUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#12459) drop supplementary groups when permanently dropping UID

On certain platforms, Process::UID.change_privilege doesn't handle
changing supplementary groups. In that case, we need to always
explicitly initgroups, regardless of whether we're using
change_privilege, or change_group/change_user.

Analysis by Dominic Cleal <dcleal@redhat.com>

Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
Nick Lewis <nick@puppetlabs.com>Committed on Feb 13 2012, 8:52 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU50909b93dc01: (#12458) default to users primary group, not root, in `asuser`
Branches
Unknown
Tags
Unknown

Event Timeline

Nick Lewis <nick@puppetlabs.com> committed rPU76d0749f0a9a: (#12459) drop supplementary groups when permanently dropping UID (authored by Daniel Pittman <daniel@puppetlabs.com>).Feb 13 2012, 8:52 PM