[EMAIL PROTECTED] wrote:

The Disc Shop wrote:
[EMAIL PROTECTED] wrote:
clamdscan --config-file=/usr/local/etc/clamd.conf abc
/var/spool/virtual/thediscshop.com.au/abc: Access denied. ERROR

What are the permissions on /var/spool/virtual/thediscshop.com.au/abc ?  clamd 
user needs read access to it.

srwxrwxrwx    1 clamav   clamav          0 Dec  2 11:01 clamd
-rw-r-----    1 root     root          707 Dec  2 11:01 clamd.log
-rw-rw----    1 clamav   clamav          5 Dec  2 11:01 clamd.pid

On my system the log file is owned by the clamd user.  Don't know why yours 
isn't.  Are you running logrotate against the log file?  If so you'll need to 
tell logrotate to chown the log file to clamav.

Running as user clamav (UID 505, GID 506)

Especially considering that line.

after i run clamd QUIT all file remain with the addition of this to

You mean, literally, "$ clamd QUIT"?  That's not how to stop clamd.  That starts another 
instance of clamd with the unrecognized argument "QUIT".

The socket commands (QUIT) are not command-line arguments.  You have to echo 
them to the socket. Try sending clamd a kill signal instead.

Ah okay, my bad. Misread the man clamd, thought QUIT was an option. That sorts that issue out. Now just have to work out what the rest of the issues are now.

What are the permissions on /var/spool/virtual/thediscshop.com.au

are
drwxrwx---    2 admin    mail         4096 Dec  2 11:30 thediscshop.com.au

abc has the following permissions
-rw-rw----    1 admin    mail        12356 Dec  2 11:27 abc

So i'm guessing i need to add mail into the list of groups clamav belongs too






_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to