Bug 1451 - --copy-links not excluding files that match length and time
Summary: --copy-links not excluding files that match length and time
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 2.5.7
Hardware: x86 Linux
: P3 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
Depends on:
Reported: 2004-06-10 02:12 UTC by Wim Heirman
Modified: 2005-04-01 11:24 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Wim Heirman 2004-06-10 02:12:10 UTC
When using --copy-links, rsync should check wether the referent of the symlink 
and the destination file match in length and time and possibly exclude the 
file; I suspect that at the moment the symlink itself is examined which is of 
course not the same size as the destination file, causing the file not to be 
excluded even when it should have been.
Comment 1 Wayne Davison 2004-06-10 09:46:05 UTC
Rsync uses a normal stat() call on files when --copy-links is specified (rather
than lstat()), so of course it is dealing with the length and time information
from the referent.

If you believe that something is not working right, please add a comment with
more specific information.  Also, consider using the mailing list to help
diagnose the problem.