Andy Ruddock wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I'm running Ubuntu 8.10 AMD64 and have clamav installed from the
> repositories.
> I've compiled a "hello world" program with permissions 0777
> the command
> clamdscan hello
> returns
> /hello: Access denied. ERROR
>
> I don't understand why this is so, where do the permissions required to
> scan this file fail?
>
> BTW running "clamdscan - </hello" works fine, and even changing the
> ownership on the file to clamav:clamav fails.
>
Perhaps it is in a directory that the clamav user does not have access too ?
Try copying the file to /tmp and trying it there.
Regards,
Rick
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net