Fix user in tmpfiles.d (#215)

This commit is contained in:
Shawn Iverson 2018-09-01 17:55:36 -04:00 committed by GitHub
parent 6a8827f54e
commit d3e1b2ac0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -984,7 +984,7 @@ if [ $CONFCAV -eq 1 ]; then
#chown -R clam:clam /var/run/clamd.scan
#chcon -u system_u -r object_r -t antivirus_var_run_t /var/run/clamd.scan
chown -R clamscan:mtagroup /var/run/clamd.scan
echo "d /var/run/clamd.scan 0750 clam mtagroup -" > /usr/lib/tmpfiles.d/clamd.scan.conf
echo "d /var/run/clamd.scan 0750 clamscan mtagroup -" > /usr/lib/tmpfiles.d/clamd.scan.conf
touch /var/log/clamd.scan
chown clamscan:clamscan /var/log/clamd.scan
usermod -G mtagroup,virusgroup,clamupdate clamscan