Message125984
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(). |
|
Date |
User |
Action |
Args |
2011-01-11 06:52:51 | rosslagerwall | set | recipients:
+ rosslagerwall, jcea, ronaldoussoren, pitrou, laca |
2011-01-11 06:52:51 | rosslagerwall | set | messageid: <1294728771.24.0.920696685905.issue10822@psf.upfronthosting.co.za> |
2011-01-11 06:52:49 | rosslagerwall | link | issue10822 messages |
2011-01-11 06:52:49 | rosslagerwall | create | |
|