>_ linuxcommand.dev
Startseite restorecon
Security

restorecon

Resets SELinux file contexts to default values.

Last updated: Report error
Syntax
$restorecon [OPTIONS] PATH
Optionen
-R Rekursiv
-v Verbose output
Examples
Examples
$sudo restorecon -Rv /var/www/html
Examples
$sudo restorecon -v /etc/httpd/conf/httpd.conf
Typical use cases
Standard usage
restorecon --help
Detailed Help
man restorecon
Note Assists with SELinux issues after manual file manipulations.
Export