Project

General

Profile

Bug #2508

Missing path for server.upload-dirs is not reported, then uploads fail.

Added by MetaYii almost 7 years ago. Updated over 4 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

Description

Hi, yesterday I found an issue, or maybe two: I installed 1.4.32 in place of 1.4.28, and in the make install the directory pointed by server.upload-dirs got deleted from the file system (first issue). I started lighttpd and it worked normally, but uploads of large files began to fail (second issue). It was a headache to discover that the path was missing and causing this behavior. My request is that lighttpd should report those missing paths at start (or when you do the lighttpd -t test), or event don't start at all, to avoid this kind of issues.

#1

Updated by stbuehler over 6 years ago

  • I don't think we have any "install" directives that would create or even delete such special directories.
  • The default is "/var/tmp" (if no paths are configured); it might be nice to have a warning at startup that the configured directories are not existing.
#2

Updated by gstrauss over 4 years ago

Submitted pull request https://github.com/lighttpd/lighttpd1.4/pull/27 to warn at startup if dirs do not exist.

#3

Updated by stbuehler over 4 years ago

  • Target version set to 1.4.40
#4

Updated by stbuehler over 4 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset r3125.

Also available in: Atom