restorecond
linux
Daemon that monitors file creation and automatically restores SELinux contexts. Useful for directories where files are frequently created with incorrect contexts. See also: `restorecon`, `semanage-fcontext`.
More info →Examples (6)
Start the `restorecond` daemon
Run `restorecond` in [v]erbose mode to see restoration events
sudo restorecond -vRun `restorecond` in [d]ebug mode
sudo restorecond -dUse alternative `restorecond.conf` file
sudo restorecond -f restorecond_fileCheck the status of the restorecond service
Enable restorecond to start at boot
sudo systemctl enable restorecond --nowmade by @shridhargupta | data from tldr-pages