delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/28/16:35:16

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4ADE9823.2080209@yahoo.ca>
References: <4ADE9823 DOT 2080209 AT yahoo DOT ca>
Date: Wed, 28 Oct 2009 14:35:03 -0700
Message-ID: <2bbbac860910281435l5c18c5devb8e827f136882dcd@mail.gmail.com>
Subject: Re: Rsync link-dest not working for a host with the most recent rsync/cygwin 1.7
From: Chris Francy <francyci AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Thu, 22 Oct 2009 20:08 PM, Steven Monai <smonaica AT yahoo DOT ca> wrote:
>> Since I don't care about the retaining the
>> permissions, and I now have a version of rsync on both sides that
>> allows me to use link-dest without copying permissions I am happy.  If
>> someone wants to continue digging into this further I am still
>> available.
>
> Thanks in advance for indulging me just a little bit further.
>
> Could you re-run your Cygwin-1.7 test case with --itemize-changes added
> to the rsync command-line? That should provide a hint at what Debian's
> rsync thinks is different between its existing file copy and Cygwin's
> source file. Also, I would like to see what Cygwin's 'stat' command says
> about the source file on the Windows box.

The output of stat of my testfile on the box with cygwin 1.7 is

stat testfile
  File: `testfile'
  Size: 1048576         Blocks: 1024       IO Block: 65536  regular file
Device: bcdb6416h/3168494614d   Inode: 27303072741079683  Links: 1
Access: (0700/-rwx------)  Uid: (4294967295/ UNKNOWN)   Gid: (  401/mkpasswd)
Access: 2009-10-20 23:37:29.577294700 -0700
Modify: 2009-10-21 00:36:28.000000000 -0700
Change: 2009-10-20 23:37:30.030425500 -0700

Here (http://pastebin.com/m6c414439) is the output of my rerunning my
tests against the server with cygwin 1.7 with the  --itemize-changes
and -vv rsync options.

Chris

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