Project

General

Profile

Actions

Bug #257

closed

Symbolic Links

Added by Anonymous about 17 years ago. Updated over 14 years ago.

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

Description

HI!

I want to download the files from symbolic links. The symbolic links will be deleted after 2 minutes. This is a download protection feature by my application. Apache was able to handle the download after the link was deleted. But lighttpd stops downloading if i delete the symbolic link. Is there a way that lighttpd continues downloading file after the symbolic link was deleted?

Actions #1

Updated by Anonymous about 17 years ago

I don't think that it necessarily is a bug, as it also can be seen as a security feature to immediately stop access to a removed file. However, lighttpd's behaviour would be a bit unusual in the Unix world, where you normally can access a removed/unlinked file and still access it as long as it is opened.

-- rene.fichter(at)gmail.com

Actions #2

Updated by jan about 17 years ago

  • Status changed from New to Assigned

The behaviour will be fixed again. It worked in 1.3.16.

Usually using mod_secdownload or mod_trigger_b4_dl will serve your needs far better.

Actions #3

Updated by jan about 17 years ago

  • Status changed from Assigned to Fixed
  • Resolution set to fixed

fixed in r703

Actions #4

Updated by trog about 15 years ago

  • Status changed from Fixed to Need Feedback
  • Resolution deleted (fixed)

This problem appears to be back again as of 1.4.16; I've tested with symlinks and once the symlinks are deleted the file download stops immediately.

I'm using a very simple configuration and not aware of any config options that might stop this from happening.

Actions #5

Updated by darix about 15 years ago

i dont see any changes in this area. are you sure it was working in 1.4.15?

Actions #6

Updated by trog about 15 years ago

No, sorry, I am not - I suspect not, as I tried this several months ago with an older version (pre-1.4.15) and it wasn't working there either. I went to log it as a new bug but found this one and thought I'd reopen it.

Actions #7

Updated by stbuehler over 14 years ago

  • Status changed from Need Feedback to Fixed
  • Resolution set to fixed
  1. Use mod_secdownload, mod_trigger_b4_dl or x-sendfile.
  2. Works for me (symlink to big file, start dl it, delete symlink, dl continues): maybe your kernel/filesystem doesn't like this? I don't think this is a lighty bug, as long as lighty does not crash.
Actions

Also available in: Atom