[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ - Collector #1323: applied patch to fix umask problem in zdctl

Andreas Jung andreas at andreas-jung.com
Mon May 30 10:13:03 EDT 2005


Log message for revision 30559:
  
        - Collector #1323: applied patch to fix umask problem in zdctl
  

Changed:
  U   Zope/branches/Zope-2_8-branch/doc/CHANGES.txt
  U   Zope/branches/Zope-2_8-branch/lib/python/zdaemon/zdctl.py

-=-
Modified: Zope/branches/Zope-2_8-branch/doc/CHANGES.txt
===================================================================
--- Zope/branches/Zope-2_8-branch/doc/CHANGES.txt	2005-05-30 14:06:16 UTC (rev 30558)
+++ Zope/branches/Zope-2_8-branch/doc/CHANGES.txt	2005-05-30 14:12:32 UTC (rev 30559)
@@ -29,6 +29,8 @@
       - Collector #889:  made 'and' operator for KeywordIndexes actually
         restrict results as expected (thanks to 'aroda' for the patch!).
 
+      - Collector #1323: applied patch to fix umask problem in zdctl
+
   Zope 2.8.0 b2 (2005/05/22)
 
     Features added

Modified: Zope/branches/Zope-2_8-branch/lib/python/zdaemon/zdctl.py
===================================================================
--- Zope/branches/Zope-2_8-branch/lib/python/zdaemon/zdctl.py	2005-05-30 14:06:16 UTC (rev 30558)
+++ Zope/branches/Zope-2_8-branch/lib/python/zdaemon/zdctl.py	2005-05-30 14:12:32 UTC (rev 30559)
@@ -213,7 +213,7 @@
             args += self._get_override("-f", "forever", flag=1)
             args += self._get_override("-s", "sockname")
             args += self._get_override("-u", "user")
-            args += self._get_override("-m", "umask")
+            args += self._get_override("-m", "umask", oct(self.options.umask))
             args += self._get_override(
                 "-x", "exitcodes", ",".join(map(str, self.options.exitcodes)))
             args += self._get_override("-z", "directory")



More information about the Zope-Checkins mailing list