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 [EMAIL PROTECTED]
-- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html