Bug #257
closedSymbolic Links
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?
Updated by Anonymous over 19 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
Updated by jan over 19 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.
Updated by jan over 19 years ago
- Status changed from Assigned to Fixed
- Resolution set to fixed
fixed in r703
Updated by trog over 17 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.
Updated by darix over 17 years ago
i dont see any changes in this area. are you sure it was working in 1.4.15?
Updated by trog over 17 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.
Updated by stbuehler about 17 years ago
- Status changed from Need Feedback to Fixed
- Resolution set to fixed
- Use mod_secdownload, mod_trigger_b4_dl or x-sendfile.
- 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.
Also available in: Atom