Displaying 1 result from an estimated 1 matches for "bumbox".
Did you mean:
bamboo
2003 Feb 20
0
Fwd: fink rsync --daemon failure
..., const char * argv[]) {
if (setgroups(0, NULL) == -1) printf("error %d: %s\n", errno,
strerror(errno));
else printf("success.");
return 0;
}
... the behavior for root vs. user execution is different:
% /tmp/bbum-products/setgr
error 1: Operation not permitted
[bumbox:/tmp] bbum% sudo /tmp/bbum-products/setgr
error 22: Invalid argument
Since it fails in both cases, that would be enough to cause
HAVE_SETGROUPS to be defined appropriately.
Someone should have a look at the Darwin sources (I don't have a lot of
time right now -- even if I did, I'm not s...