> hi all,
> using RH 9 with clamav-0.60 ....
>
> [EMAIL PROTECTED] test]# clamscan --unrar rarfail.rar
> /home/pippo/clamav-0.60/test/rarfail.rar: RAR module failure.
> UNRAR 3.00 freeware Copyright (c) 1993-2002 Eugene Roshal
> Cannot open /home/pippo/clamav-0.60/test/rarfail.rar
> No files to extract
> (raw) /home/pippo/clamav-0.60/test/rarfail.rar: OK
This is a permission problem. clamscan works as follows: first tries to
scan the file with internal RAR scanner - that fails, because this is a
rar3.0 archive (which is not supported, what is described in the README file
in the test directory). After that if --unrar[=/path] was passed it uses
the unrar utility - but if it was started by root for security reasons it
drops the privileges and the clamav user have no permission to open
the file. I remember it was fixed some time ago by copying the file to /tmp
before dropping the privileges but don't remember - must look into sources.
This kind of problem was popular when clamscan was only using external
unpackers.
Best regards,
Tomasz Kojm
--
oo ..... [EMAIL PROTECTED]
(\/)\......... http://www.konarski.edu.pl/~zolw
\..........._ I nie zapomnij kliknac w brzuszek...
//\ /\\ <- C. Amboinensis www.pajacyk.pl
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]