[Pkg-clamav-devel] Bug#636881: Milter socket permissions not set properly

martin f krafft madduck at debian.org
Sat Aug 6 17:34:23 UTC 2011


Package: clamav-milter
Version: 0.97.2+dfsg-1~squeeze1
Severity: important
Tags: upstream

It seems no longer possible to set permissions of the milter socket:

  root at domine:/var/spool/postfix/clamav# grep Milter /etc/clamav/clamav-milter.conf
  MilterSocket /var/spool/postfix/clamav/clamav-milter.ctl
  MilterSocketGroup postfix
  MilterSocketMode 660
  root at domine:/var/spool/postfix/clamav# /etc/init.d/clamav-milter restart
  Stopping Sendmail milter plugin for ClamAV: clamav-milter.
  Starting Sendmail milter plugin for ClamAV: clamav-milter.
  root at domine:/var/spool/postfix/clamav# ls -l
  total 0
  s--------- 1 clamav clamav 0 Aug  6 19:20 clamav-milter.ctl

If I uncomment the RWGROUP in /etc/default/clamav-milter, then I get

  s----w---- 1 clamav postfix 0 Aug  6 19:21 clamav-milter.ctl

This is because the init.d script now does chgrp and chmod g+w, but
not more.

That this is configurable in both places is subject of #636877.

I think the bug is in clamav-milter, hence tagging this upstream.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 1124 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
URL: <http://lists.alioth.debian.org/pipermail/pkg-clamav-devel/attachments/20110806/0d1754ff/attachment.pgp>


More information about the Pkg-clamav-devel mailing list