Doesn't work as a server. It calls setgroups(0,0), which is unsupported on BSD/OS. setgroups() must have at least one group set, the primary group. Would it be a problem to replace this line of code with setgroups(1, getgid()) (Not literally, I know that won't compile, but functionally...)? This works, and presumedly causes no problems on systems that do support setgroups(0,). (What do those systems do in that case?) - Chris -- Chris Ross cross@distal.com
On Wed, Aug 20, 2003 at 06:43:18PM -0400, Chris Ross wrote:> Doesn't work as a server. It calls setgroups(0,0), which is > unsupported on BSD/OS. setgroups() must have at least one group set, > the primary group.Thanks for the info! I just checked in a fix for this. ..wayne..