public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Frank Fesevur <ffes@users.sourceforge.net>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: rsync still broken
Date: Fri, 13 Mar 2015 11:20:00 -0000	[thread overview]
Message-ID: <CAKf2h5RcKYingYXezbvXpHPVeYNCu=uXwb7p_CVK1dJAhgV1aA@mail.gmail.com> (raw)
In-Reply-To: <5501F852.3060301@tlinx.org>

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

  reply	other threads:[~2015-03-13 10:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-12 11:28 Frank Fesevur
2015-03-12 23:50 ` Linda Walsh
2015-03-13 11:20   ` Frank Fesevur [this message]
2015-03-20  9:15     ` Linda Walsh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKf2h5RcKYingYXezbvXpHPVeYNCu=uXwb7p_CVK1dJAhgV1aA@mail.gmail.com' \
    --to=ffes@users.sourceforge.net \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).