--- Trog <[EMAIL PROTECTED]> wrote: > On Wed, 2004-12-15 at 14:52, ads nat wrote: > > > [EMAIL PROTECTED] clamav-0.80]# clamdscan -l scan.txt > > clamav-0.80 > > How is clamd, running as user "clamav", supposed to > access the directory > "clamav-0.80" when it is owned by "root"? > > clamd can only scan files the user it is running as > has read permissions > for. > > -trog > >
> ATTACHMENT part 1.2 application/pgp-signature name=signature.asc > _______________________________________________ > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users > I chnaged permission and user as follows: ######### drwxr-xr-x 16 clamav clamav 4096 Dec 15 20:06 clamav-0.80 -rwxr-xr-x 1 clamav clamav 262120 Dec 15 19:00 /usr/local/sbin/clamd ########## Now user is same for both. 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 ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 0.000 sec (0 m 0 s) ############# Thanks for support. guidance requred. __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail _______________________________________________ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users