alfonsodg / demo-web2py

Apache License 2.0
0 stars 0 forks source link

fcgi.py's WSGIServer ignores umask #95

Closed alfonsodg closed 10 years ago

alfonsodg commented 10 years ago

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.

  1. Run fcgihandler.py
  2. 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. :)

Original issue: http://code.google.com/p/web2py/issues/detail?id=96

alfonsodg commented 10 years ago

From massimod...@gmail.com on August 18, 2010 19:46:33

Status: Fixed