setgroups problem on osx
ASK QUESTIONS IN Forums:
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.
Updated by jan almost 18 years ago
- Status changed from New to Fixed
- Resolution set to fixed
fixed in changeset r239 for server.c
Also available in: Atom