Project

General

Profile

Actions

Bug #78

closed

setgroups problem on osx

Added by Anonymous about 19 years ago. Updated about 17 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

Actions #1

Updated by jan about 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