Hi as well Lima,

I'm not an expert either ;-)

clamdscan sends the object to be scanned to the
daemon (clamd) that is usually running at all times.
I've decided to call this 'server side'.

clamscan is more of a 'client side' application
that should ideally be used for one-off scans due
to the overhead of launching it.

When using any binary application, ideally you
should use the full path of the object you are
referring to e.g.

clamdscan /path/to/file.txt

or this may work if you've 'cd' to the directory

clamdscan ./file.txt

You have to be very specific about locations of files
on the command line. It could even be that with the
command you issued previously, clamdscan assumed you
were referring to the root directory.

Also if the daemon (clamd) is not running as 'root'
then I think it will also have limited access to what
it can scan.

To check the permissions of the file, 'cd' to the
directory and in the terminal window type:

ls -l

this should list all the visible files and their
permissions.

A.

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to