Preserving Context with tar

Daniel J Walsh dwalsh at redhat.com
Thu Oct 20 02:32:13 UTC 2005


W. Scott wilburn wrote:
> 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,
>   
Have you looked at star?
> Scott Wilburn
>
> --
> fedora-selinux-list mailing list
> fedora-selinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-selinux-list
>   


-- 





More information about the selinux mailing list