Fix file SELinux security contexts. More information: https://manned.org/fixfiles.
/.autorelabel
file, so that it can be used later to speed up labeling. If used with restore, the restore will only affect files that were modified today:fixfiles -B
file_context
for customizable files:fixfiles -F
/tmp
directory without confirmation:fixfiles -f
fixfiles -R rpm_package1,rpm_package2 ...
PREVIOUS_FILECONTEXT
file to the [C]urrently installed one, and restore the context of all affected files:fixfiles -C PREVIOUS_FILECONTEXT
--newermt
command:fixfiles -N YYYY-MM-DD HH:MM
fixfiles -M
restorecon
with -v
instead of -p
:fixfiles -v