Ticket #78 (closed defect: fixed)

Opened 3 years ago

Last modified 20 months ago

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

Changed 3 years ago by jan

  • status changed from new to closed
  • resolution set to fixed
  • description modified (diff)

fixed in changeset [239] for server.c

Add/Change #78 (setgroups problem on osx)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.