Kevin W. Gagel wrote:
That's because you're trying to scan root's files when clamav is running as non-root.I'm setting up a new server and my initail testing is giving me only errors.
I have ClamAV installed OK but following the manuals example of: clamdscan -r -l scan.txt testdir
Give me "Access denied. ERROR"
The group and user is set to clamav for the dir and its contents.
The top directories (in this case /root and /root/clamav-0.74) must also be accessible by clamav user.
Even running
in root does not alter this outcome.
Running what? Running clamdscan as root will NOT change the outcome. Running clamscan will. Changing the user on clamav.conf will too. Just move (or copy) the test directory somewhere else (e.g. /tmp), and try again.
It does not detect anything in the test dir because of the error.
Suggestions, comments, ideas on what I overlooked?...
ClamAV .74 SuSE SLES 8.0 server Actual output of errors: Using "clamdscan -r -l scan.txt test" -------------------------------------- Scan started: Thu Jul 8 11:35:04 2004
/root/clamav-0.74/test: Access denied. ERROR
-- summary -- Infected files: 0 Time: 0.000 sec (0 m 0 s)
OR from the test dir itself: Using "clamdscan -l scan.txt *" -------------------------------------- Scan started: Thu Jul 8 11:34:44 2004
/root/clamav-0.74/test/README: Access denied. ERROR /root/clamav-0.74/test/mbox: Access denied. ERROR /root/clamav-0.74/test/scan.txt: Access denied. ERROR /root/clamav-0.74/test/test: Access denied. ERROR /root/clamav-0.74/test/test-failure.rar: Access denied. ERROR /root/clamav-0.74/test/test-zip-noext: Access denied. ERROR /root/clamav-0.74/test/test.bz2: Access denied. ERROR /root/clamav-0.74/test/test.msc: Access denied. ERROR /root/clamav-0.74/test/test.rar: Access denied. ERROR /root/clamav-0.74/test/test.zip: Access denied. ERROR
-- summary --
Infected files: 0
Time: 0.006 sec (0 m 0 s)
-------------------------------------------------------
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