Opened 17 years ago
Closed 16 years ago
#7239 closed defect (fixed)
umask parameter is lost while instantiating _fcgi.WSGIServer
Reported by: | Owned by: | Remy Blank | |
---|---|---|---|
Priority: | normal | Milestone: | 0.11.3 |
Component: | web frontend | Version: | 0.12dev |
Severity: | normal | Keywords: | fastcgi unix socket |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
umask parameter is not passed from trac.web._fcgi.WSGIServer class constructor to superclass' constructor, thus preventing user from setting sane umask value, which is important when listening on unix domain sockets.
Patch against today's trunk (r7063) attached.
Attachments (1)
Change History (4)
by , 17 years ago
Attachment: | trac-7239.diff added |
---|
comment:1 by , 16 years ago
Milestone: | → 0.11.3 |
---|---|
Owner: | set to |
Indeed, this seems to be the case. No comment in the source about this being intentional, either.
I have never used FCGI and I don't have a server to test. Anybody volunteering to test the patch?
comment:2 by , 16 years ago
My trac box (three instances) runs with this patch fine since I've posted it.
comment:3 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Patch applied in [7758]. Thanks!
fix for the bug