Hello Maarten

ls -lrt /var/run/clamav/clamd.socket
srw-rw---- 1 clamav clamav 0 Dec  3 15:32 /var/run/clamav/clamd.socket=

ls -lrt /tmp/clamav-milter.socket 
srw-r--r-- 1 clamav root 0 Dec  3 15:32 /tmp/clamav-milter.socket=

Just wondering should a standard user belong to the clamav group. Is that what 
my problem is.

If a standard user belonged to the clamav group it would allow them to run 
freshclam - is that a good thing?

Alex


On Tuesday 03 Dec 2013 15:35:17 Maarten Broekman wrote:
> What are the permissions on the clamd socket file?  You might also try
> setting up clamd to listen on an IP/port and connect to it that way if the
> unix socket doesn't work.
> 
> --Maarten
> 
> On 12/3/13, 10:23 AM, "[email protected]"
> 
> <[email protected]> wrote:
> >Hello Henri
> >
> >Results below -
> >
> >ls -la nw1700.p65
> >-rwxr--r-- 1 alex users 6825472 Oct 24  2012 nw1700.p65*
> >
> >
> >id
> >uid=1001(alex) gid=100(users)
> >groups=100(users),7(lp),12(mail),15(man),17(audio),19(cdrom),20(games),21(
> >slocate),27(mysql),33(sshd),50(ftp),83(plugdev),86(netdev),93(scanner)
> >
> >Thanks
> >
> >Alex
> >
> >On Tuesday 03 Dec 2013 15:49:08 Henri Salo wrote:
> >> On Tue, Dec 03, 2013 at 12:14:38PM +0000,
> >>
> >>[email protected]
> >
> >wrote:
> >> > Hello Henri
> >> > 
> >> > Thanks for the quick response. I tried that and this is what I get if
> >> > running from a standard user -
> >> > 
> >> > $ clamdscan --fdpass nw1700.p65
> >> > ERROR: Can't connect to clamd: Permission denied
> >> 
> >> Could you execute commands:
> >> 
> >> id
> >> 
> >> and
> >> 
> >> ls -la nw1700.p65
> >> 
> >> ---
> >> Henri Salo
> >
> >_______________________________________________
> >Help us build a comprehensive ClamAV guide:
> >https://github.com/vrtadmin/clamav-faq
> >http://www.clamav.net/support/ml
> 
> _______________________________________________
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
> http://www.clamav.net/support/ml
_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/support/ml

Reply via email to