Bug#373786: /etc/cron.daily/exim4-base should unset TMPDIR

Piotr Kaczuba pepe at attika.ath.cx
Mon Oct 9 14:49:10 UTC 2006


Marc Haber napisał(a):
> On Fri, Oct 06, 2006 at 04:00:36PM +0200, Marc Haber wrote:
>> I'm going to fix the script to run as root.
> 
> This is now in svn, see
> http://svn.debian.org/wsvn/pkg-exim4/exim/trunk/debian/exim4_refresh_gnutls-params?op=file&rev=1626&sc=0
> 
> I'd appreciate if you could test this.
[...]

It works as expected.

The following if-block with "chmod --reference" seems unnecessary,
however, considering the fact that you change the permissions later anyway.

    if [ -e "$PARAMFILE" ] ; then
      chmod --reference="$PARAMFILE" "$tempgnutls"
    fi
    chown Debian-exim:Debian-exim "$tempgnutls"
    chmod 400 "$tempgnutls"

Thanks,
Piotr Kaczuba




More information about the Pkg-exim4-maintainers mailing list