https://redmine.lighttpd.net/https://redmine.lighttpd.net/favicon.ico?13667327412017-03-25T15:59:14Zlighty labsLighttpd - Feature #2802: Could the error-log be improved a tiny bit in regards to "Permission denied" errors propagated from the filesystem (on Linux at the least)?https://redmine.lighttpd.net/issues/2802?journal_id=109722017-03-25T15:59:14Zgstrauss
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/2796">Bug #2796</a>: mod_fastcgi can fail to read entire response from server</i> added</li></ul> Lighttpd - Feature #2802: Could the error-log be improved a tiny bit in regards to "Permission denied" errors propagated from the filesystem (on Linux at the least)?https://redmine.lighttpd.net/issues/2802?journal_id=109742017-03-25T16:08:10Zgstrauss
<ul><li><strong>Category</strong> set to <i>mod_cgi</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Low</i></li><li><strong>Target version</strong> changed from <i>1.4.x</i> to <i>1.4.46</i></li></ul><p>Thanks for the report. I believe the issue you are seeing with truncated response was fixed in <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: mod_fastcgi can fail to read entire response from server (Fixed)" href="https://redmine.lighttpd.net/issues/2796">#2796</a> and will be part of lighttpd 1.4.46. The fix is already part of the lighttpd git master branch.</p>
<p>Regarding where tempfiles are created, the default is /var/tmp (if it exists) or else /tmp. The location is controlled with <code>server.upload-dirs</code>. Another method to figure out where lighttpd is writing is to use use <code>strace</code> and look for the call to <code>open</code> and then the error, in your case, EACCES.</p>
<p>I'll see if the error message can be extended when mkstemp() fails.</p> Lighttpd - Feature #2802: Could the error-log be improved a tiny bit in regards to "Permission denied" errors propagated from the filesystem (on Linux at the least)?https://redmine.lighttpd.net/issues/2802?journal_id=109752017-03-25T16:36:11Zgstrauss
<ul><li><strong>Category</strong> changed from <i>mod_cgi</i> to <i>core</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Patch Pending</i></li></ul> Lighttpd - Feature #2802: Could the error-log be improved a tiny bit in regards to "Permission denied" errors propagated from the filesystem (on Linux at the least)?https://redmine.lighttpd.net/issues/2802?journal_id=109832017-04-07T06:55:40Zgstrauss
<ul><li><strong>Status</strong> changed from <i>Patch Pending</i> to <i>Fixed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="[core] report file path when mkstemp() fails (fixes #2802) x-ref: "Could the error-log be impr..." href="https://redmine.lighttpd.net/projects/lighttpd/repository/14/revisions/162e754d0d90d48a6c6a6918602922fa115f1bb3">162e754d0d90d48a6c6a6918602922fa115f1bb3</a>.</p>