Preserving Context with tar

W. Scott wilburn wilburn at lanl.gov
Wed Oct 19 21:56:06 UTC 2005


Sorry to be asking such a simple question. Is it possible to preserve 
file contexts using tar? I would have thought -p would do this, but 
it appears no, atleast on RHEL4 and FC4.

The reason to do this is a use tar to install modified config files on 
new machines. Having to relabel after doing this is somewhat slow. 
Perhaps there is a better solution?

Thanks,
Scott Wilburn




More information about the fedora-selinux-list mailing list