Update of /cvsroot/mailman/mailman/bin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12125
Modified Files:
Tag: Release_2_1-maint
mailmanctl
Log Message:
Set default umask for qrunners to 007.
Index: mailmanctl
===================================================================
RCS file: /cvsroot/mailman/mailman/bin/mailmanctl,v
retrieving revision 2.24.2.5
retrieving revision 2.24.2.6
diff -u -d -r2.24.2.5 -r2.24.2.6
--- mailmanctl 27 Aug 2005 01:40:16 -0000 2.24.2.5
+++ mailmanctl 5 Feb 2006 04:45:09 -0000 2.24.2.6
@@ -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 @@
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
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org