On Fri, 6 Apr 2007 08:33:00 +0100 Stephen Gran <[EMAIL PROTECTED]> wrote:
> ...I am not sure how you got a mode 700 directory - do you run > freshclam with an odd umask or anything? But at any rate, the short > term fix is to chmod 0755 the directory - that's what it is here, and > everywhere I've checked. I don't recall changing any umask stuff for 'freshclam' -- how (or what) might this be checked? if that's possible. I did the 0755 short fix, (thanks very much!), and now 'clamscan' works. Note on the error message: LibClamAV Error: cli_loaddbdir(): Can't open directory /var/lib/clamav//main.inc ERROR: Unable to open file or directory ...it's a bit vague on what it can't open (a file or dir), and why it can't open it. The error would be easier to diagnose if the message was more specific, something like how 'rm' does it: % whoami alfie # try something unpermitted: % rm /vmlinuz rm: cannot remove `/vmlinuz': Permission denied Suggested revision: LibClamAV Error: cli_loaddbdir(): can't open `/var/lib/clamav/main.inc`: permission denied HTH... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]