I think I'm struggling with a permissions problem, but I can't spot what the cause is.
Can someone please point me in the right direction? I'm hoping it is "obvious" and I've just gone temporarily blind.
I'm experimenting on a tests system with Centos 7/Plesk 12 with amavisd-new installed, plus ASL (*without* the ASL kernel)
in /etc/clamd.conf I have the following:
LocalSocket /tmp/clamd.socket
User root
Unfortunately amavisd-new, which runs as user amavisd, cannot connect to /tmp/clamd.socket
drwxrwxrwt 11 root root 20480 Mar 30 14:48 .
dr-xr-xr-x 17 root root 4096 Mar 27 13:11 ..
srw-rw-rw- 1 root root 0 Mar 30 14:46 clamd.socket
If I change the path in clamd.conf to, for example, /var/run/clamd.amavisd/clamd.socket, it works fine
drwxrwx--- 2 amavis clamav 60 Mar 27 13:10 .
drwxr-xr-x 25 root root 740 Mar 30 14:36 ..
srw-rw-rw- 1 root root 0 Mar 27 13:10 clamd.socket
I know what I want is staring me in the eye...but I can't see it.
clamd socket permissions
clamd socket permissions
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>