This is an old revision of the document!
Restore Default File Contexts
General Information
About this page/how-to/script.
Restore file's default selinux context
restorecon file.txt
Relabel everything on the filesystem on next boot
touch /.autorelabel
- This restores security context for all directories and files system wide on boot