delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/12/16:34:52

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=pQo0mNbcwqA7FcSmvjs1ZnlMkDEkKdZiIOzM6hcN/sN
7YP/NuaxoekS/zY1j5AVPUAkJGv5azrN+MxmnIjTVu337yZerLAJvsIFzI0qi29U
unibuNz1dEPstktP1z+dhkp2j9unEY6GryMDq+77+0YSrnDz8k2J1vHmFBte9RVY
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=USYTwihGgU4XcaijkFJQCOv2Fo0=; b=fM0s2ja4PDduKiFl5
6axq/m9UnGbC6bO9n5bNngVfjOwcDVuO6uSXItHctjCS28eQGzCLXTajX2xBtE+B
6nLk/s0Pfl2G+Qcil3oFAD/8IMpBtqsXlPmF9Vk27qlB6gEZbkU3qi/FCbF0a2Ko
GYAcfOHtSGYDKnZ1WwfWl8EwBY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=AWL,BAYES_50,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: Ishtar.hs.tlinx.org
Message-ID: <5501F852.3060301@tlinx.org>
Date: Thu, 12 Mar 2015 13:34:26 -0700
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: rsync still broken
References: <CAKf2h5TzBP7KYO+NhZ7oVRpb-O_q86RvFxa1NacVWgRVu8BfRA AT mail DOT gmail DOT com>
In-Reply-To: <CAKf2h5TzBP7KYO+NhZ7oVRpb-O_q86RvFxa1NacVWgRVu8BfRA@mail.gmail.com>
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019