fixfiles
Fix file SELinux security contexts. tldr-pages
On Linux
Linux
Record the current date in the /.autorelabel file when used with onboot (to speed up labeling later), or only restore files modified today when used with restore
fixfiles -BIdentifyForce reset of context to match file_context for customizable files
fixfiles -FIdentifyClear /tmp directory without confirmation
fixfiles -fIdentifyUse the Rpm database to discover all files within specific packages and restore the file contexts
fixfiles -R rpm_package1,rpm_package2 ...IdentifyRun a diff on the PREVIOUS_FILECONTEXT file to the Currently installed one, and restore the context of all affected files
fixfiles -C PREVIOUS_FILECONTEXTIdentifyOnly act on files created after a specific date which will be passed to find --newermt command
fixfiles -N YYYY-MM-DD HH:MMIdentifyBind Mount filesystems before relabeling them, this allows fixing the context of files or directories that have been mounted over
fixfiles -MIdentifyModify verbosity from progress to verbose and run restorecon with -v instead of -p
fixfiles -vIdentify