Actions
Bug #78
closedsetgroups problem on osx
Status:
Fixed
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:
Description
on osx 10.3, at least, setgroups(0, NULL); returns -1.
src/server.c: setgroups(1, &grp->gr_gid); src/spawn-fcgi.c: setgroups(1, &grp->gr_gid);
is the 2second hack we did to make it work. obviously the right thing to do is to use getgrouplist, etc.
-- brett
Updated by jan over 19 years ago
- Status changed from New to Fixed
- Resolution set to fixed
fixed in changeset r239 for server.c
Actions
Also available in: Atom