store | blogs | forums | twitter | facebook | wiki | downloads | support portal
Atomic Secure Linux
It is currently Sat Aug 17, 2019 1:26 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: clamd socket permissions
Unread postPosted: Wed Mar 30, 2016 10:06 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 2321
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.

_________________
--------------------------------
<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>


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group