I'm running 0.51 under Linux 2.4.19

A clamd SCAN of this directory seems to work fine:

[EMAIL PROTECTED]:~# ls -lasd /home/jason/viruses
   4 drwx------    6 foo  root         4096 Apr 22 14:38 /home/jason/viruses/

[EMAIL PROTECTED]:~# telnet localhost 9999
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
SCAN /home/jason/viruses
/home/jason/viruses/JS/[EMAIL PROTECTED]: Mid/Kakworm-Z FOUND
Connection closed by foreign host.

...but this one does not.

[EMAIL PROTECTED]:~# ls -lasd /ram/foo/viruses
   0 drwx------    6 foo  root            0 Apr 22 14:38 /ram/foo/viruses/

[EMAIL PROTECTED]:~# telnet localhost 9999
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
SCAN /ram/foo/viruses
Connection closed by foreign host.


Any ideas?

Here's my /usr/local/etc/clamav.conf:

PidFile /ram/foo/clamd.pid
TCPSocket 9999
MaxDirectoryRecursion 15
User foo
ScanArchive
ArchiveMaxFileSize 10M
ArchiveMaxRecursion 5
ArchiveMaxFiles 1000

Same deal when running as root, using a unix socket instead of the tcp
connection, RAWSCAN instead of SCAN.  If I specify a file, it _does_ work.
The first one (/home/jason/viruses) is a real directory, /ram is a Linux
tmpfs mount (a ramdisk).  Same results with 0.50

Thanks,
  Jason

-- 
Jason Englander <[EMAIL PROTECTED]>
394F 7E02 C105 7268 777A  3F5A 0AC0 C618 0675 80CA



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Reply via email to