[Top][All Lists]

[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

From: Darshit Shah
Subject: Re: [Bug-wget] [bug #45037] wget -O foo ftp://ftp.funet.fi/pub/Linux/mirrors/debian/README deletes README symlink
Date: Thu, 7 May 2015 09:40:05 +0530
User-agent: Mutt/1.5.23 (2014-03-12)

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.

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

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.

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

Thanking You,
Darshit Shah

Attachment: pgpNmw2unuJ4s.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]