Kevin W. Gagel wrote:
----- Original Message Follows -----

I have ClamAV installed OK but following the manuals example of:
clamdscan -r -l scan.txt testdir

Give me "Access denied. ERROR"

I have isolated the problem to the clamd deamon but can't get around it. scanclam works without problems but the scandclam gives the errors.

I'm using UNIX socket to attach, the file is created in /tmp/clamd correctly the
owner is clamav and group is clamav.

What now?


If you run clamd as an unprivledged user (and you should), then you can't scan files with clamdscan that the unprivledged user doesn't have access to (ie: /root/). You can use clamscan there however, as it would run as the user executing the command.



Ryan Moore ---------- Perigee.net Corporation 704-849-8355 (sales) 704-849-8017 (tech) www.perigee.net



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to