This is an automatically generated e-mail. To reply, visit: http://reviewboard-fedoraserver.rhcloud.com/r/131/

src/rolekit/async.py (Diff revision 2)
286
            os.setgid(user_gid)

Need to also reset supplementary groups to match user_uid, otherwise root’s will be inherited.


src/rolekit/async.py (Diff revision 2)
291
        if user_uid and user_gid:
292
            return set_ids

This is now redundant with the check at line 299.


- Miloslav Trmac


On leden 21st, 2015, 4:49 odp. CET, Stephen Gallagher wrote:

Review request for RoleKit Mailing List, Miloslav Trmac, Stephen Gallagher, and Thomas Woerner.
By Stephen Gallagher.

Updated Led. 21, 2015, 4:49 odp.

Repository: rolekit

Description

Allow impersonating a different UID/GID in subprocesses

Diffs

  • src/rolekit/async.py (0f9ddaac1beb27cebdf41ca0383a62a807c4fcb6)

View Diff