[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)

>>>> "HX" == Herbert Xu <herbert@gondor.apana.org.au> writes:

HX> 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

HX> Huh? webalizer should not rely on its caller to set a sensible umask, period.

But this is the right way to call webalizer ?


Reply to: