What are file contexts?
File contexts are used by the setfiles command to generate persistent labels which describe the security context for a file or directory. Fedora Core ships with the fixfiles script, which supports three options: check, restore, and relabel. This script allows users to relabel the file system without having the selinux-policy-targeted-sources package installed. The command line usage is more friendly than the standard setfiles command.
File contexts are used by the setfiles command to generate persistent labels which describe the security context for a file or directory. Fedora Core ships with the fixfiles script, which supports three options: check, restore, and relabel. This script allows users to relabel the file system without having the selinux-policy-targeted-sources package installed. The command line usage is more friendly than the standard setfiles command.