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

Summary: rsync with ACLs resets mtime on targets
Product: rsync
Version: 3.0.4
Platform: x86
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: samba@byshenk.net
QAContact: rsync-qa@samba.org


On FreeBSD (v6 and v7), rsync (v3.0.4) with the extented ACLs patch has a
problem.

The ACLs flag works, but when it is used, the mtime of the files on on the
receiving system are set to the current time. This is a bit annoying in
itself, but creates a larger problem because any later rsync actions on the
same files see the files as _different_, meaning that _all_ the files are
recopied -- which more or less defeats the purpose of using rsync.

Yes, I understand that setting ACLs on a file changes the mtime of the file.
But, as rsync is able to (re)set mtimes I would think that this shouldn't
should be an issue when using rsync.

After some searching around, I found some discussion (relating to Macs,
actually) that suggests that the problem is that with the ACLs patch enabled,
rsync modifies the ACLs on the target files _after_ setting the mtime, which
seems to me (at least) to be a bug.


--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html