>_ linuxcommand.dev
Startseite restorecon
Sicherheit

restorecon

Setzt SELinux-Dateikontexte auf Standardwerte zurück.

Fedora
Verifiziert: 2026-02-09
Syntax
$restorecon [OPTIONEN] PFAD
Optionen
-R Rekursiv
-v Verbose-Ausgabe
Beispiele
$sudo restorecon -Rv /var/www/html
$sudo restorecon -v /etc/httpd/conf/httpd.conf
Typische Anwendungsfälle
?
Standardverwendung
restorecon --help
Hinweis Hilft bei SELinux-Problemen nach manuellen Dateimanipulationen.
Export