Project

General

Profile

Bug #2508

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

Added by MetaYii almost 4 years ago. Updated over 1 year ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
core
Target version:
Start date:
2013-09-03
Due date:
% Done:

100%

Estimated time:
Missing in 1.5.x:
No

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.

Associated revisions

Revision 3125 (diff)
Added by stbuehler over 1 year ago

[config] warn if server.upload-dirs has non-existent dirs (fixes #2508)

Warn at startup if any dirs in server.upload-dirs do not exist.
Take server.chroot into account, if set.

From: Glenn Strauss <>

Revision b4a4afda (diff)
Added by gstrauss over 1 year ago

[config] warn if server.upload-dirs has non-existent dirs (fixes #2508)

Warn at startup if any dirs in server.upload-dirs do not exist.
Take server.chroot into account, if set.

From: Glenn Strauss <>

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3125 152afb58-edef-0310-8abb-c4023f1b3aa9

History

#1 Updated by stbuehler over 3 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 1 year 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 1 year ago

  • Target version set to 1.4.40

#4 Updated by stbuehler over 1 year ago

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

Applied in changeset r3125.

Also available in: Atom