[Supervisor-checkins] r914 - in supervisor/trunk: . src/supervisor

Chris McDonough chrism at agendaless.com
Thu Jan 7 17:44:52 EST 2010


Author: Chris McDonough <chrism at agendaless.com>
Date: Thu Jan  7 17:44:51 2010
New Revision: 914

Log:
Allow umask to be 000 (patch contributed by Rowan Nairn).


Modified:
   supervisor/trunk/CHANGES.txt
   supervisor/trunk/src/supervisor/process.py

Modified: supervisor/trunk/CHANGES.txt
==============================================================================
--- supervisor/trunk/CHANGES.txt	(original)
+++ supervisor/trunk/CHANGES.txt	Thu Jan  7 17:44:51 2010
@@ -1,5 +1,7 @@
 Next Release
 
+  - Allow umask to be 000 (patch contributed by Rowan Nairn).
+
   - Fixed a bug introduced in 3.0a7 where supervisorctl wouldn't ask
     for a username/password combination properly from a
     password-protected supervisord if it wasn't filled in within the

Modified: supervisor/trunk/src/supervisor/process.py
==============================================================================
--- supervisor/trunk/src/supervisor/process.py	(original)
+++ supervisor/trunk/src/supervisor/process.py	Thu Jan  7 17:44:51 2010
@@ -324,7 +324,7 @@
                 options.write(2, msg)
             else:
                 try:
-                    if self.config.umask:
+                    if self.config.umask is not None:
                         options.setumask(self.config.umask)
                     options.execve(filename, argv, env)
                 except OSError, why:


More information about the Supervisor-checkins mailing list