Commits

Robert Brewer committed c9a3d44

Engine.drop_privileges: default umask to None.

  • Participants
  • Parent commits 07a21c3

Comments (0)

Files changed (1)

cherrypy/_cpengine.py

                 """Drop privileges. Not available."""
                 raise NotImplementedError
         else:
-            # A very conservative umask
-            umask = 077
+            umask = None
             
             def drop_privileges(self):
                 """Drop privileges. Windows version (umask only)."""
     else:
         uid = None
         gid = None
-        # A very conservative umask
-        umask = 077
+        umask = None
         
         def drop_privileges(self):
             """Drop privileges. UNIX version (uid, gid, and umask)."""