ads nat wrote:
--- Trog <[EMAIL PROTECTED]> wrote:


On Wed, 2004-12-15 at 15:09, ads nat wrote:


still getting some Access problem.
##########
[EMAIL PROTECTED] clamav-0.80]# clamdscan -l scan.txt

test

/root/clamav-0.80/test: Access denied. ERROR
/root/clamav-0.80/test: OK

Let me try a different approach:

don't scan files under the /root directory, you'll
get "Access denied".

-trog




ATTACHMENT part 1.2 application/pgp-signature

name=signature.asc

_______________________________________________


http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users



When I tried as follows:
############
[EMAIL PROTECTED] clamav-0.80]# clamdscan -l scan.txt
/etc
/etc/sysconfig/rhn/up2date-uuid: Unable to open file
or directory ERROR
/etc/sysconfig/rhn/up2date-keyring.gpg: Unable to open
file or directory ERROR
/etc/X11/X: Unable to open file or directory ERROR
/etc/securetty: Unable to open file or directory ERROR
/etc/pam.d/sshd: Unable to open file or directory
ERROR
/etc/.pwd.lock: Unable to open file or directory ERROR

############


I dont understand why you keep posting this here. Trog has been more than helpful in attempting to solve your "problem". I say that in quotes because the only thing wrong here is what you are trying to do. You are *still* trying to scan files owned by root and are not readable by the clamav user. What are you trying to prove here?


Heres an example:

above you show that you are trying to scan /etc. Well, one of the files shown above with the error is /etc/securetty..which on my system looks like

-rw-------    1 root     root          122 Feb 17  2003 securetty

which means only root can read and write it and no one else can do ANYTHING to that file...cant read, write, virus scan, etc.

Do you understand this now? Oh, and by the way, changing ownership of the clamdscan binary file (which i noticed you said you did in an earlier post) to clamav:clamav is not going to help anything here.

I suggest you get more familiar with the ownership idea before you go any further. Theres a good chance of fouling things up.

-Jim
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to