restorecon
Setzt SELinux-Dateikontexte auf Standardwerte zurück.
Syntax
$restorecon [OPTIONEN] PFAD
Optionen
-R
Rekursiv
-v
Verbose-Ausgabe
Beispiele
Beispiele
$sudo restorecon -Rv /var/www/html
Beispiele
$sudo restorecon -v /etc/httpd/conf/httpd.conf
Typische Anwendungsfälle
restorecon --help
man restorecon
Hinweis
Hilft bei SELinux-Problemen nach manuellen Dateimanipulationen.
Export