Ticket #78 (closed defect: fixed)
setgroups problem on osx
| Reported by: | brett@… | Owned by: | jan |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Version: | 1.3.13 |
| Severity: | normal | Keywords: | osx setgroups |
| Cc: | Blocked By: | ||
| Need User Feedback: | Blocking: |
Description (last modified by jan) (diff)
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

