lighttpd >= 1.4.6 crashes on file upload
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
Also available in: Atom