[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] [bug #45037] wget -O foo ftp://ftp.funet.fi/pub/Linux/mir
Re: [Bug-wget] [bug #45037] wget -O foo ftp://ftp.funet.fi/pub/Linux/mirrors/debian/README deletes README symlink
Thu, 7 May 2015 09:40:05 +0530
On 05/06, Ángel wrote:
Follow-up Comment #3, bug #45037 (project wget):
It's clearly a bug. If we are downloading README to local file foo, there's no
reason to remove the local symlink README.
I agree. This is definitely a bug.
My guess is, we should default to shell like behaviour and provide a command
line option to instead replace the file, if the user wishes so.
When we want to save into a name where there's currently a symlink,
consistency with shell > would dictate just to follow the link on writing, but
as that may lead to security issues, replacing with a file may also be
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.
Reply to this item at:
Mensaje enviado vía/por Savannah
Description: PGP signature
Re: [Bug-wget] [bug #45037] wget -O foo ftp://ftp.funet.fi/pub/Linux/mirrors/debian/README deletes README symlink, Darshit Shah, 2015/05/07