Supervisor/supervisor — pull request #102 by wynnw (2012-03-22 21:23:27+00:00)
Title: bugfix for losing group access rights in process

...st. For example, if a user is an explicit member of one group (different from their primary group), the call to setgid after setgroups will cause the process to not have the full group rights of the user. Including the primary gid as the first group in the list avoids this problem. Not sure if this is a python bug, or a problem with the underlying system setgroups/getgroups api's - but this is a safe workaround.