Project

General

Profile

Actions

Bug #2508

closed

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

Added by MetaYii over 7 years ago. Updated about 5 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.

Actions #1

Updated by stbuehler over 7 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.
Actions #2

Updated by gstrauss about 5 years ago

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

Actions #3

Updated by stbuehler about 5 years ago

  • Target version set to 1.4.40
Actions #4

Updated by stbuehler about 5 years ago

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

Applied in changeset r3125.

Actions

Also available in: Atom