Ticket #7239 (closed defect: fixed)
Opened 4 years ago
Last modified 3 years ago
umask parameter is lost while instantiating _fcgi.WSGIServer
| Reported by: | screwdriver@… | Owned by: | rblank |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11.3 |
| Component: | web frontend | Version: | 0.12dev |
| Severity: | normal | Keywords: | fastcgi unix socket |
| Cc: | |||
| Release Notes: | |||
| API 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
Change History
Changed 4 years ago by screwdriver@…
- Attachment trac-7239.diff added
comment:1 Changed 3 years ago by rblank
- Milestone set to 0.11.3
- Owner set to rblank
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 Changed 3 years ago by screwdriver@…
My trac box (three instances) runs with this patch fine since I've posted it.
comment:3 Changed 3 years ago by rblank
- Resolution set to fixed
- Status changed from new to closed
Patch applied in [7758]. Thanks!



fix for the bug