[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Remember to set UMASK properly in your /etc/cron.* scripts (Ref: Bug#93123)

Christian Marillat <marillat.christian@wanadoo.fr> wrote:
>>>>> "HMH" == Henrique M Holschuh <hmh@debian.org> writes:

> HMH> Fix for #93123 being regression-tested as I write this. 

> HMH> Anyway, IMHO these scripts are broken. Anything sensitive to UMASK should
> HMH> set it properly, as there is NO reason to assume root's umask (or any user's
> HMH> for that matter) is 022 or 002 IMHO.

> This is not script fcrontab are:

> 58      23      * * *   /usr/bin/webalizer

Huh? webalizer should not rely on its caller to set a sensible umask, period.
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Reply to: