rsync: rsync_xal_clear: lremovexattr("export","security.selinux") failed: Permission denied (13)
Issue
- Encountered an rsync related issue while using "rsync-3.0.6-4.el5_7.1" version. An initial rsync run (clean destination) completes successfully. Subsequent runs display error messages.
[root@dhcp234-23 export]# mount -o acl,user_xattr /dev/VolGroup00/oscopy1 /mnt/
[root@dhcp234-23 export]# mount -l | grep VolGroup00-export
/dev/mapper/VolGroup00-export on /export type ext3 (rw,acl,user_xattr,data=journal)
[root@dhcp234-23 export]# rsync -acHX -x --delete /export /mnt/
[root@dhcp234-23 export]# echo $?
0
[root@dhcp234-23 export]# rsync -acHX -x --delete /export /mnt/
rsync: rsync_xal_clear: lremovexattr("export","security.selinux") failed: Permission denied (13)
rsync: rsync_xal_clear: lremovexattr("export/lost+found","security.selinux") failed: Permission denied (13)
rsync: rsync_xal_clear: lremovexattr("export/opt/openv","security.selinux") failed: Permission denied (13)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]
[root@dhcp234-23 export]#
[root@dhcp234-23 export]# rsync -acHX -x --delete /export /mnt/
rsync: rsync_xal_clear: lremovexattr("export","security.selinux") failed: Permission denied (13)
rsync: rsync_xal_clear: lremovexattr("export/lost+found","security.selinux") failed: Permission denied (13)
rsync: rsync_xal_clear: lremovexattr("export/opt/openv","security.selinux") failed: Permission denied (13)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]
[root@dhcp234-23 export]#
- It is not happening while using the version
rsync-2.6.8-3.1on RHEL 5.9.
Environment
- Red Hat Enterprise Linux 5.9
- rsync-3.0.6-4.el5_7.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.