Tom London wrote:
Running rawhide. I use "rsync" to backup my system to a USB hard drive. I also ntfs-3g mount a WinXP partition to '/mnt/windows' on boot, and I use the above rsync to back that up as well. Adding '-xattrs' to the argument list for rsync seems to produce scads of the following (I'm guessing one for each file in the ntfs-3g file system ): rsync: rsync_xal_clear: lremovexattr("mnt/windows/WINDOWS/twain_32/wiatwain.ds","security.selinux") failed: Permission denied (13) rsync: rsync_xal_clear: lremovexattr("mnt/windows/temp","security.selinux") failed: Permission denied (13) rsync: rsync_xal_clear: lremovexattr("mnt/windows/temp/setup.log","security.selinux") failed: Permission denied (13) Destination fs i ext4dev. When mounted, all the files in /mnt/windows have type: fusefs_t. When rsych'ed, the type on the ext4 fs is file_t. Running 'getfatttr -d' on the source files produces, for example: [root@localhost temp]# getfattr -d * getfattr: setup.log: Operation not supported [root@localhost temp]# On the destination fs, result is [root@localhost temp]# getfattr -d * [root@localhost temp]# This something due to the way I mounted the ntfs-3g fs? The way I run rsync? Other? thanks, tom
This might be off topic, but I am unable to get rsync -X to preserve the SELinux context: <https://bugzilla.redhat.com/show_bug.cgi?id=458014>.
Cheers. -- fedora-selinux-list mailing list fedora-selinux-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-selinux-list