[Mimedefang] Fwd: Re: clamav vs clamd vs clamscan

Richard Laager rlaager at wiktel.com
Mon Oct 13 18:36:14 EDT 2014


On Mon, 2014-10-13 at 17:00 -0500, Cliff Hayes wrote:
> Did what you said and I can't touch a new temp file in 
> /var/spool/MIMEDefang ... permission denied ... but clamd appears to be 
> running as clamav

Your tests below should be expected to fail. mimedefang.pid is not
group-readable. And the directory is not group-writable.

Try reading mimedefang-multiplexor.pid which is group-readable:
su -s /bin/bash clamav
cd /var/spool/MIMEDefang
cat mimedefang-multiplexor.pid

> su -s /bin/bash clamav
> bash-4.1$ cd /var/spool/MIMEDefang
> bash-4.1$ ls -l
> total 8
> -rw-r----- 1 defang defang 5 Oct 13 16:50 mimedefang-multiplexor.pid
> srwxrwx--- 1 defang defang 0 Oct 13 16:50 mimedefang-multiplexor.sock
> -rw------- 1 defang defang 5 Oct 13 16:50 mimedefang.pid
> srwxrwx--- 1 defang defang 0 Oct 13 16:50 mimedefang.sock
> bash-4.1$ vi mimedefang.pid
> bash-4.1$ touch temp
> touch: cannot touch `temp': Permission denied

-- 
Richard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.mimedefang.org/pipermail/mimedefang_lists.mimedefang.org/attachments/20141013/e4c6b798/attachment.sig>


More information about the MIMEDefang mailing list