[Bug 13735] Synchronize files when the sending side has newer change times while modification times and sizes are identical on both sides

samba-bugs at samba.org samba-bugs at samba.org
Wed Jan 2 17:44:34 UTC 2019


https://bugzilla.samba.org/show_bug.cgi?id=13735

--- Comment #1 from Kevin Korb <rsync at sanitarium.net> ---
Yes, a user can back-date the mtime on a file.  This is what rsync does when it
copies a file then copies the timestamp.

Your suggestion of a better --checksum option is an interesting idea but so far
we don't even have a --checksum that behaves even as intelligently as the man
page describes it.  Try rsycing a big tree to an empty dir with --checksum. 
According to the man page --checksum shouldn't matter but you will see that it
checksums files when it has nothing to compare them to.  It should skip
checksumming files that have no match.  It should also skip checksumming files
that don't have matching file sizes but it doesn't.  This is why I say that
--checksum is almost always a bad idea.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.



More information about the rsync mailing list