This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rosslagerwall
Recipients jcea, laca, pitrou, ronaldoussoren, rosslagerwall
Date 2011-01-11.06:52:49
SpamBayes Score 4.612944e-05
Marked as misclassified No
Message-id <1294728771.24.0.920696685905.issue10822@psf.upfronthosting.co.za>
In-reply-to
Content
It seems to work fine on OpenIndiana (running normally or as root).

According to the posix specification, "It is implementation-defined whether getgroups() also returns the effective group ID in the grouplist array."

But, id -G prints all group IDs. Perhaps, it failed because 0 was the effective gid & it was included by "id -G" but wasn't being returned by posix.getgroups().

This fix changes the test to compare the output from "id -G" with the union of getgroups() & getegid().
History
Date User Action Args
2011-01-11 06:52:51rosslagerwallsetrecipients: + rosslagerwall, jcea, ronaldoussoren, pitrou, laca
2011-01-11 06:52:51rosslagerwallsetmessageid: <1294728771.24.0.920696685905.issue10822@psf.upfronthosting.co.za>
2011-01-11 06:52:49rosslagerwalllinkissue10822 messages
2011-01-11 06:52:49rosslagerwallcreate