This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: rsync still broken
- From: Linda Walsh <cygwin at tlinx dot org>
- To: cygwin at cygwin dot com
- Date: Thu, 12 Mar 2015 13:34:26 -0700
- Subject: Re: rsync still broken
- Authentication-results: sourceware.org; auth=none
- References: <CAKf2h5TzBP7KYO+NhZ7oVRpb-O_q86RvFxa1NacVWgRVu8BfRA at mail dot gmail dot com>
Frank Fesevur wrote:
And yesterday I saw that my backup *completely* failed because of these errors:
@ERROR: setgid failed
rsync error: error starting client-server protocol (code 5) at
main.c(1653) [Receiver=3.1.0]
ERROR: /usr/bin/rsync returned 5 while processing
rsync://192.168.200.208/backup-d/DataShares/
@ERROR: setgid failed
rsync error: error starting client-server protocol (code 5) at
main.c(1653) [Receiver=3.1.0]
ERROR: /usr/bin/rsync returned 5 while processing
rsync://192.168.200.208/backup-d/DataGit/
@ERROR: setgid failed
====
It sounds like the group you are in on cygwin doesn't exist
or you are not in it on your target machine.
what group are you in on the windows machine?
if you type 'id', the 2nd number should be your primary gid.
uid=1234(Bliss\law) gid=123(lawgroup) groups=123(lawgroup)...
Then the question is, does your groupname
exist on the server you are transferring it to?
(or if you are using '--numeric-ids, is your
group# (gid) the same on the server you are
transferring files to?
If not, are you using the --usermap and/or
--groupmap options to map your Windows ID's to
your server's ID's?
Maybe you have already verified this, but usually
when I get errors in a transfer, it's because the UID's
or user/groupnames on my windows machine don't always match
what is on my server -- they mostly do, but I do see
errors occasionally in it trying to set things.
You can also try the --fake-super option -- that
might fake the id's enough for it to work...
Good luck!
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple