DO NOT REPLY [Bug 6633] Extended attributes under Solaris are not supported.
samba-bugs at samba.org
samba-bugs at samba.org
Thu Sep 3 06:30:27 MDT 2009
https://bugzilla.samba.org/show_bug.cgi?id=6633
------- Comment #12 from cavalli at cilea.it 2009-09-03 07:30 CST -------
Small correction to sys_lremovexattr, NOT UNDERSTOOD, unlink of attributes
works only of attropen is called without O_RDWR ....
This is not strictly related with fake-super on receiving side, but with -X on
sender size.
@@ -217,7 +217,7 @@ int sys_lremovexattr(const char *path, const char *name)
int attrdirfd;
int ret;
- if ((attrdirfd = attropen(path, ".", O_RDWR)) < 0)
+ if ((attrdirfd = attropen(path, ".", O_RDONLY)) < 0)
return -1;
ret = unlinkat(attrdirfd, name, 0);
During my tests this was the error I got
rsync: rsync_xal_clear: lremovexattr("cavalli","pippo") failed: Is a directory
(21)
user.pippo was the user extended attribute on linux side correctly backed up by
-X, and now I was trying to delete it.
--
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.
More information about the rsync
mailing list