We're experiencing the same issue and have tried to narrow it down and it seems to have something to do with the calls to setgroups()
We're experiencing the same issue and have tried to narrow it down and it seems to have something to do with the calls to setgroups()