rsync-2.5.6 on BSD/OS 4.x
Chris Ross
cross at distal.com
Thu Aug 21 08:43:18 EST 2003
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 at distal.com
More information about the rsync
mailing list