Re: selinux and rsync backup to zfs dataset
Andrei Borzenkov <[email protected]>
| Newsgroups | gmane.linux.suse.general |
|---|---|
| Message-ID | <[email protected]> |
07.06.2026 17:29, [email protected] wrote: ... >>>>> If the rsync option --xattrs is used, I get errors like this:>>>>> >>>>> rsync: [receiver] rsync_xal_set: >>>>> lremovexattr("<file>","security.selinux") failed: Permission >>>>> denied >>>>> (13) >>>>> >>>>> for every file to backup. ... > > All files are labeled, but differently on backup source (client) and > backup target (server). > rsync removes xattr on the destination if this xattr was not present on the source.