delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/28/12:55:19

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_65,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Matthias Meyer <Matthias DOT Meyer AT gmx DOT li>
Subject: Re: rsync restore the file owner but rsyncd do it not
Date: Sun, 28 Dec 2008 18:54:12 +0100
Lines: 24
Message-ID: <gj8eg6$881$1@ger.gmane.org>
References: <ghhlj1$1tb$1 AT ger DOT gmane DOT org> <493C5E9C DOT 5E7B4C67 AT dessent DOT net> <ghi4hm$q2$1 AT ger DOT gmane DOT org> <ghjfq2$t7i$1 AT ger DOT gmane DOT org>
Reply-To: Matthias DOT Meyer AT gmx DOT li
Mime-Version: 1.0
User-Agent: KNode/0.10.9
X-IsSubscribed: yes
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

Matthias Meyer wrote:

> :-) Yes it works!
> 
> Three important things are going wrong in "my" past:
> 1. /etc/passwd as well as /etc/group are necessary in windows to enable
>   cygwin to map windows SID/GID to posix uid/gid.
> 2. --numeric-ids are necessary during backup to server if the client
> uid/gid
>   is unknown there (whats probably the case) . During restore
>   --numeric-ids are not necessary because uid/gid should be known on
>   client side.
> 3. The environment variable must be CYGWIN=ntsec, which is already the
>   default.
4. The account, where the rsync daemon runs, must be in the administrator group
5. The Server must set the parameter "--super" as restore parameter
> 
> Hopefully my summary above help other users :-)
> 
> Thanks
> Matthias

-- 
Don't panic


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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