Rsyncing every file on the root to another disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a requirement to rsync ALL files over to a newly mounted partition. the command is "rsync -AaXxH /home/snapshot/* /target/" I can get this to work in permissive, and with a bit of massaging. I can get an operational system that boots in enforcing on a new disk.

For the life of me I can't determine how I can gain access to copy and write all these files in enforcing.

I have included the simple rules like

files_read_all_files(), but it seems there must be an easier assured way of making sure I don't miss anything. It appears to me that not everyfile in the system is really labeled with the attribute file_type. Is there something I am missing on how to do this? Suggestions?

Nick

--

"THIS time it really is fixed. I mean, how many times can we get it wrong? At some point, we just have to run out of bad ideas.."

Linus Torvalds



Nickolas Gray
nick@xxxxxxxxxxx





--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux