Wayne Davison | 1 Apr 2005 01:41
Picon
Favicon

Re: Some files not logged when using --compare-dest. Bug?

On Thu, Mar 31, 2005 at 02:34:14PM +0200, Vidar Madsen wrote:
> I just spotted another peculiarity when inspecting the rsync log. When
> using --compare-dest, source files that have permissions that differ
> from the "comparables" are not logged, unless you're using -i.

Yes, rsync has historically not reported files that are the same except
for their attributes (permissions, group, owner) unless you use two -v
options or (in 2.6.4) a log-format with %i (e.g. using the -i option).
However, --compare-dest does complicate this, since the identical file
can be in the --compare-dest dir, and not in the actual destination dir.
Earlier in the development cycle, I noticed that rsync was not updating
a file that differed in attributes when using --compare-dest, so I
decided to fix that for 2.6.4.  However, since the file is not actually
transferred (it is copied locally), it can be deceptive that the name is
not output with only one -v.  The way it currently works is that rsync
outputs just what it would have output if the destination were a merging
of the --compare-dest files with the destination files.

..wayne..
--

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Andrew Gideon | 1 Apr 2005 23:58

--compare-dest and preserving attributes change

Wayne Davison wrote:

> Earlier in the development cycle, I noticed that rsync was not updating
> a file that differed in attributes when using --compare-dest, so I
> decided to fix that for 2.6.4.  

Does this also fix the problem I reported in:

 http://lists.samba.org/archive/rsync/2005-February/011746.html

or is this something different?  It certainly *sounds* close, but the NEWS
file didn't specify what was meant by "attributes".

 - Andrew

--

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Wayne Davison | 2 Apr 2005 03:22
Picon
Favicon

Re: --compare-dest and preserving attributes change

On Fri, Apr 01, 2005 at 04:58:07PM -0500, Andrew Gideon wrote:
> Does this also fix the problem I reported in:
> 
>  http://lists.samba.org/archive/rsync/2005-February/011746.html

No, rsync doesn't yet handle ACLs.  I believe that the rawhide version
of rsync (for redhat) is going to be patched to work with extended
attributes, so hopefully we'll get something integrated into rsync
before too long (I haven't had time to work on this because none of
the systems I use have extended-attribute enabled).

..wayne..
--

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Andrew Gideon | 2 Apr 2005 04:04

Re: --compare-dest and preserving attributes change

On Fri, 2005-04-01 at 17:22 -0800, Wayne Davison wrote:

> 
> No, rsync doesn't yet handle ACLs.  I believe that the rawhide version
> of rsync (for redhat) is going to be patched to work with extended
> attributes, so hopefully we'll get something integrated into rsync
> before too long (I haven't had time to work on this because none of
> the systems I use have extended-attribute enabled).

Anything I can do to help?  I can get the ACL patch for .4, and then
patch that with the fix I did last time if you'd like.

	- Andrew

--

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Gmane