mirror of
https://github.com/MailScanner/v5.git
synced 2024-09-20 15:26:08 +08:00
Fix user in tmpfiles.d (#215)
This commit is contained in:
parent
6a8827f54e
commit
d3e1b2ac0b
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue