From 6b2e1dd0997cc7791154e5e56fbbcec23637dd92 Mon Sep 17 00:00:00 2001 From: msapiro <> Date: Sun, 5 Feb 2006 04:45:09 +0000 Subject: Set default umask for qrunners to 007. --- bin/mailmanctl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'bin') diff --git a/bin/mailmanctl b/bin/mailmanctl index cabf29a5..473c9470 100644 --- a/bin/mailmanctl +++ b/bin/mailmanctl @@ -1,6 +1,6 @@ #! @PYTHON@ -# Copyright (C) 2001-2004 by the Free Software Foundation, Inc. +# Copyright (C) 2001-2006 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -14,7 +14,8 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +# USA. """Primary start-up and shutdown script for Mailman's qrunner daemon. @@ -418,8 +419,8 @@ def main(): os.setsid() # Instead of cd'ing to root, cd to the Mailman installation home os.chdir(mm_cfg.PREFIX) - # Clear our file mode creation umask - os.umask(0) + # Set our file mode creation umask + os.umask(007) # I don't think we have any unneeded file descriptors. # # Now start all the qrunners. This returns a dictionary where the -- cgit v1.2.3