What steps will reproduce the problem? 1. Use the default fcgihandler.py script, but add umask=0 to the WSGIServer parameters.
Run fcgihandler.py
See that nothing changed. What version of the product are you using? On what operating system? Version 1.83.2 (2010-08-15 08:16:30) Please provide any additional information below. It's a one-line fix. gluon/contrib/gateways/fcgi.py:1150:
def init(self, application, environ=None, umask=None,
should instead be
def init(self, application, environ=None,
this allows the umask to be passed through to the parent Server object via the **kw dict and be applied correctly. :)
From jacobmp92 on August 17, 2010 18:05:15
What steps will reproduce the problem? 1. Use the default fcgihandler.py script, but add umask=0 to the WSGIServer parameters.
this allows the umask to be passed through to the parent Server object via the **kw dict and be applied correctly. :)
Original issue: http://code.google.com/p/web2py/issues/detail?id=96