Bug #338
closedlighttpd >= 1.4.6 crashes on file upload
Description
I recently upgraded lighttpd to 1.4.6 and noticed that it killed itself without any error message in random times.
After tracing the process I noticed that this only happens for file uploads:
open("/var/tmp/lighttpd-upload-HLWrUF", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = -1 EACCES (Permission denied)
write(2, "lighttpd: connections.c:978: con"..., 100) = 100
rt_sigprocmask(SIG_UNBLOCK, ABRT, NULL, 8) = 0
tgkill(2999, 2999, SIGABRT) = 0
There are no settings in my config file pointing lighttpd to /var/tmp in any way.
There was no problem with 1.4.4 - but it's there in 1.4.5 and 1.4.6. I never changed permissions for /var/tmp (default is 755 or so).
Afaik /var/tmp is not set to chmod 777 by default, so I consider this ticket critical.
-- daniel at schlach/com
Updated by jan about 19 years ago
- Status changed from New to Assigned
i fix for this is only in progress.
thanks for the ticket.
Updated by Anonymous about 19 years ago
Thanks, jan =).
For all users who got this problem a quick workaround may be to set /var/tmp to chmod 777 until it is fixed.
-- daniel at schlach/com
Updated by Anonymous about 19 years ago
I also encounter this problem on FreeBSD 5.x. A core dump is available on request.
-- bwolf
Updated by jan about 19 years ago
- Status changed from Assigned to Fixed
- Resolution set to fixed
fixed on r802
Also available in: Atom