X-Recipient: archive-cygwin AT delorie DOT com 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: Thu, 11 Dec 2008 00:43:34 +0100 Lines: 42 Message-ID: References: <493C5E9C DOT 5E7B4C67 AT dessent DOT net> <20081208164751 DOT GD12105 AT ednor DOT casa DOT cgf DOT cx> <20081208165310 DOT GF12105 AT ednor DOT casa DOT cgf DOT cx> 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 Christopher Faylor wrote: > On Mon, Dec 08, 2008 at 11:47:51AM -0500, Christopher Faylor wrote: >>On Mon, Dec 08, 2008 at 04:51:29PM +0100, 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. >>> >>>Hopefully my summary above help other users :-) >> >>The phrase "must be...which is already the default" does not make logical >>sense. > > Perhaps you meant to imply that CYGWIN=nontsec should not be used but if > you are going to go down this road then you might have to prove that a few > other no... options should not be used either. > > I think the basic advice is actually "Don't randomly change CYGWIN > settings in an attemp to fix a problem unless you understand what they do > or have been instructed to change them by someone who understands what > they do". > > cgf Thanks for your remark. Where are you as I had my problem? ;-) If you search, like I did, through the mailing groups to find a solution, you would find several hints. Among other things also CYGWIN=nontsec. br 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/