delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/13/06:39:40

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:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=kBb63K/
JNqduokUzI/6JhZSEQ/m2iHGPbz4fynvWCnP5pBxEwmL3v/xoJwEV8KUT57WDWry
FuPCSyAFfTMLIWNbr93sG/rhuOQS1gWX4/XL8zlzRo0psCukIBy4/G8MpZ4JnV8s
TEQ6dzXxkZjaV08wub9yEC0i1vc1meCyzoq8=
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:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=u0IA79FQ1us5i
XMldzR6fUSxQGQ=; b=rvElmPB5UyKGX16/kRaVyRKkjs53uVXQIOc21ZGNx9Etz
DXdWXBkqMu0s0SiELZfG+1wZAHJKwS5vhYDbkVPk55EmMEaykkZ7wdgE72O74X6Z
eLmqLEw72PN29YnXXHKbUC1FG3DYhvqASmMgVhHG66xlPHTB20DFpTRt8/sfj8=
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.5 required=5.0 tests=AWL,BAYES_50,RDNS_DYNAMIC,TVD_RCVD_IP autolearn=no version=3.3.2
X-HELO: s87.webhostingserver.nl
X-Received: by 10.42.106.204 with SMTP id a12mr56158593icp.90.1426243154480; Fri, 13 Mar 2015 03:39:14 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <5501F852.3060301@tlinx.org>
References: <CAKf2h5TzBP7KYO+NhZ7oVRpb-O_q86RvFxa1NacVWgRVu8BfRA AT mail DOT gmail DOT com> <5501F852 DOT 3060301 AT tlinx DOT org>
From: Frank Fesevur <ffes AT users DOT sourceforge DOT net>
Date: Fri, 13 Mar 2015 11:38:44 +0100
Message-ID: <CAKf2h5RcKYingYXezbvXpHPVeYNCu=uXwb7p_CVK1dJAhgV1aA@mail.gmail.com>
Subject: Re: rsync still broken
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
X-IsSubscribed: yes

2015-03-12 21:34 GMT+01:00 Linda Walsh:
> 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)...

The first gid of the user running the rsyncd service is 512, but...

> 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?

... I use --numeric-ids and I have these two lines in the rsyncd.conf
uid = 0
gid = 0

If I understand it correctly now rsync sends all files with uid=0 and
gid=0. And obviously those uid and gid exist on the Linux machine.

> If not, are you using the --usermap and/or
> --groupmap options to map your Windows ID's to
> your server's ID's?

No, I don't use that.

> 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.

I thought uid=0 and gid=0 would solve that.

> You can also try the --fake-super option -- that
> might fake the id's enough for it to work...

There is a "fake super = yes" in the rsyncd.conf and the --fake-super
option is added on the Linux server.

But the thing that surpises me is that in 3.0.9 is just worked.

Regards,
Frank

--
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