Your message dated Fri, 4 Apr 2014 21:52:53 +0200
with message-id <20140404195253.ga24...@breakpoint.cc>
and subject line Re: [Pkg-clamav-devel] Bug#414122: clamav-freshclam: does not 
honor umask
has caused the Debian Bug report #414122,
regarding clamav-freshclam: does not honor umask
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
414122: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=414122
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: clamav-freshclam
Version: 0.90.1-1
Severity: normal

[4/4]mh@nechayev[chroot sid]:~/clamav-data$ umask 002
[5/5]mh@nechayev[chroot sid]:~/clamav-data$ mkdir clgf
[6/6]mh@nechayev[chroot sid]:~/clamav-data$ ls -al
total 12K
drwxrwxr-x 3 mh mh 4.0K Mar  9 10:48 ./
drwxr-xr-x 9 mh mh 4.0K Mar  9 10:47 ../
drwxrwxr-x 2 mh mh 4.0K Mar  9 10:48 clgf/
[7/7]mh@nechayev[chroot sid]:~/clamav-data$ freshclam --quiet --user 
clamav-data-build --datadir clgf --log clgf/freshclam.log --log-verbose 
--on-update-execute="touch freshclam-new"
LibClamAV Error: Database Directory: clgf not locked
[8/8]mh@nechayev[chroot sid]:~/clamav-data$ ls -al clgf/
total 8.8M
drwxrwxr-x 2 mh mh 4.0K Mar  9 10:49 ./
drwxrwxr-x 3 mh mh 4.0K Mar  9 10:48 ../
-rw-r--r-- 1 mh mh 949K Mar  9 10:49 daily.cvd
-rw-rw-r-- 1 mh mh    0 Mar  9 10:49 freshclam-new
-rw-r----- 1 mh mh  383 Mar  9 10:49 freshclam.log
-rw-r--r-- 1 mh mh 7.9M Mar  9 10:49 main.cvd
-rw------- 1 mh mh   52 Mar  9 10:49 mirrors.dat
[9/9]mh@nechayev[chroot sid]:~/clamav-data$ umask
0002
[10/10]mh@nechayev[chroot sid]:~/clamav-data$

Despite umask 002, the .cvd files are not created group writeable.

Greetings
Marc


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20.1-zgsrv
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages clamav-freshclam depends on:
ii  clamav-base                 0.90.1-1     base package for clamav, an anti-v
ii  debconf [debconf-2.0]       1.5.13       Debian configuration management sy
ii  debianutils                 2.17.5       Miscellaneous utilities specific t
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libclamav2                  0.90.1-1     virus scanner library
ii  logrotate                   3.7.1-3      Log rotation utility
ii  lsb-base                    3.1-23.1     Linux Standard Base 3.1 init scrip
ii  ucf                         2.0020       Update Configuration File: preserv
ii  zlib1g                      1:1.2.3-13   compression library - runtime

clamav-freshclam recommends no packages.

-- debconf information:
* clamav-freshclam/autoupdate_freshclam: manual
  clamav-freshclam/proxy_user:
* clamav-freshclam/NotifyClamd: false
* clamav-freshclam/local_mirror: db.local.clamav.net
* clamav-freshclam/http_proxy:
  clamav-freshclam/mirrors.txt-note:
* clamav-freshclam/update_interval: 24
  clamav-freshclam/internet_interface:


--- End Message ---
--- Begin Message ---
On 2014-03-15 21:24:22 [+0100], Sebastian Andrzej Siewior wrote:
> Upstream suggests [0] to use OnUpdateExecute to alter the permisions
> after the update.
> Does this work for you?
> 
> [0] https://bugzilla.clamav.net/show_bug.cgi?id=470#c3

I discussed with Marc on IRC. He has no interrest in clamav and from my
point of the workaround is doable. Case closed.

Sebastian

--- End Message ---
_______________________________________________
Pkg-clamav-devel mailing list
Pkg-clamav-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-clamav-devel

Reply via email to