Project

General

Profile

Bug #78

closed

setgroups problem on osx

Added by Anonymous almost 16 years ago. Updated almost 14 years ago.

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

#1

Updated by jan almost 16 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

fixed in changeset r239 for server.c

Also available in: Atom