ClamD and Irritating Permissions Issue: Difference between revisions

mNo edit summary
mNo edit summary
 
Line 1: Line 1:
NEW!  2026 Solution:
Create this file: <code>/etc/tmpfiles.d/clamd.scan.conf</code>
Put this line in it:<code>d /run/clamd.scan 0777 clamscan mtagroup</code>
Run this command: <code>systemd-tmpfiles --create --prefix=/run/clamd.scan</code>
Restart clamd, mailscanner, and postfix just to get stuff flowing again.
The above should correct any issues when updating with DNF and the /usr/lib/tmpfiles.d file getting overwritten.
Done!
Every update ClamD / ClamAV?  One of the files that gets updated is this one: /usr/lib/tmpfiles.d/clamd.scan.conf, which contains this: <code>d /run/clamd.scan 0710 clamscan virusgroup</code>
Every update ClamD / ClamAV?  One of the files that gets updated is this one: /usr/lib/tmpfiles.d/clamd.scan.conf, which contains this: <code>d /run/clamd.scan 0710 clamscan virusgroup</code>