This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rsync still broken


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]