diff options
author | msapiro <> | 2006-02-05 04:45:09 +0000 |
---|---|---|
committer | msapiro <> | 2006-02-05 04:45:09 +0000 |
commit | 6b2e1dd0997cc7791154e5e56fbbcec23637dd92 (patch) | |
tree | cb459b1bb55c28068b90d01cde9cf0ca7419b24b /bin | |
parent | bce0588e8ac4bba9873e242ea09f038539ece00e (diff) | |
download | mailman2-6b2e1dd0997cc7791154e5e56fbbcec23637dd92.tar.gz mailman2-6b2e1dd0997cc7791154e5e56fbbcec23637dd92.tar.xz mailman2-6b2e1dd0997cc7791154e5e56fbbcec23637dd92.zip |
Set default umask for qrunners to 007.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/mailmanctl | 9 |
1 files changed, 5 insertions, 4 deletions
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 |