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 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: References: <493C5E9C DOT 5E7B4C67 AT dessent DOT net> Reply-To: Matthias DOT Meyer AT gmx DOT li Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.10.9 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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/