|
From: | Ángel González |
Subject: | Re: [Bug-wget] [bug #45037] wget -O foo ftp://ftp.funet.fi/pub/Linux/mirrors/debian/README deletes README symlink |
Date: | Sat, 09 May 2015 01:07:08 +0200 |
User-agent: | Thunderbird |
On 07/05/15 06:10, Darshit Shah wrote:
Given that this is a clearly documented feature of Wget, that -O is supposed to work as shell redirection, I think it should not pose too many issues. Yes, there is the security risk where another file may be overwritten, but I think the user should be careful about those.I was thinking in a recursive download creating a symlink and then following it, using the same code path. If the user explicitely requested wget -O symlink, it's the user responsability.
[Prev in Thread] | Current Thread | [Next in Thread] |