spamassassin-dev November 2011 archive
Main Archive Page > Month Archives  > spamassassin-dev archives
spamassassin-dev: [Bug 6709] sa-update: Use umask 022 as default

[Bug 6709] sa-update: Use umask 022 as default and add a --umask option

From: <bugzilla-daemon_at_nospam>
Date: Sun Nov 27 2011 - 17:45:33 GMT

--- Comment #3 from Kevin A. McGrail <> 2011-11-27 17:45:33 UTC ---
(In reply to comment #2)
> I do set the umask in my cron job. But I think almost everybody wants the rules
> to be world readable so making 022 as default for sa-update would make sense to
> me, regardless of what you set as global umask.

What makes sense to you or I is an installation-level decision easily handled
with a umask setting in a wrapper script.

> > This might be a good thing to document but I don't see it as a bug for
> > sa-update.
> >
> +1

Want do you think of this text added somewhere?:

"The program sa-update uses the underlying operating system umask for the
updated rule files it installs. You may wish to run sa-update from a script
that sets the umask prior to calling sa-update. For example:

umask 022

-- Configure bugmail: ------- You are receiving this mail because: ------- You are the assignee for the bug.