samba-bugs at samba.org
2010-Feb-03 18:10 UTC
DO NOT REPLY [Bug 7095] New: rsync doesn't sync extended attributes
https://bugzilla.samba.org/show_bug.cgi?id=7095
Summary: rsync doesn't sync extended attributes
Product: rsync
Version: 3.0.7
Platform: PPC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy: joerg.sommer at ateo.de
QAContact: rsync-qa at samba.org
Hi,
% touch src
% setfattr -n 'user.rsync.%stat' -v '40755 0,0 0:0' src
% getfattr -d src
# file: src
user.rsync.%stat="40755 0,0 0:0"
% rsync -aHAX src dst
% getfattr -d dst
%
Even if I've used the option -X, rsync didn't sync the extended
attribute of
the file.
Bye, J?rg.
--
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.
samba-bugs at samba.org
2010-Feb-06 21:34 UTC
DO NOT REPLY [Bug 7095] Need to document -XX for copying rsync internal attributes
https://bugzilla.samba.org/show_bug.cgi?id=7095
wayned at samba.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Summary|rsync doesn't sync extended |Need to document -XX for
|attributes |copying rsync internal
| |attributes
------- Comment #1 from wayned at samba.org 2010-02-06 15:34 CST -------
You cite a fake-super attribute, which rsync does not consider to be a real
xattr (since it was not present in the original copy). Either do another
fake-super copy, or use -XX, which includes even internal extended attributes.
Sadly, the manpage fails to mention the use of -XX, which I just fixed in the
git repo.
--
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.
samba-bugs at samba.org
2010-Feb-08 00:03 UTC
DO NOT REPLY [Bug 7095] -X without --fake-super should copy rsync internal xattrs
https://bugzilla.samba.org/show_bug.cgi?id=7095
matt at mattmccutchen.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
Summary|Need to document -XX for |-X without --fake-super
|copying rsync internal |should copy rsync internal
|attributes |xattrs
------- Comment #2 from matt at mattmccutchen.net 2010-02-07 18:03 CST -------
(In reply to comment #1)> You cite a fake-super attribute, which rsync does not consider to be a real
> xattr (since it was not present in the original copy).
I don't accept this reasoning. When --fake-super is off, I do not expect
rsync
to display any awareness of the special xattr names used by its fake-super
mode. Is there any case in which it is useful for rsync to drop those xattrs?
--
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.
Seemingly Similar Threads
- DO NOT REPLY [Bug 7368] New: Support --link-dest when receiving from a old version
- DO NOT REPLY [Bug 7070] New: Permission denied message with --fake-super and permissionless directory
- DO NOT REPLY [Bug 5356] New: SELinux extended attributes incompatibility: Linux kernel 2.6.9 and 2.6.18
- DO NOT REPLY [Bug 6701] New: permission of attributes are not preserved
- Error copying files with extended attributes to Windows clients