GNU bug report logs - #14116
[PATCH] ln: allow to overwrite relative symlink

Previous Next

Package: coreutils;

Reported by: Rémy Lefevre <lefevreremy <at> gmail.com>

Date: Mon, 1 Apr 2013 15:18:02 UTC

Severity: normal

Tags: patch

Merged with 17126, 23564

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #31 received at 14116 <at> debbugs.gnu.org (full text, mbox):

From: Linda Walsh <coreutils <at> tlinx.org>
To: Rémy Lefevre <lefevreremy <at> gmail.com>
Cc: 14116 <at> debbugs.gnu.org
Subject: Re: bug#14116: [PATCH] ln: allow to overwrite relative symlink
Date: Sun, 07 Apr 2013 00:20:51 -0700

Rémy Lefevre wrote:
[>> Pádraig Brady wrote:
>> Doing that though breaks `ln -sr target1 target2 dir` where dir is a symlink.
]
> But could you provide me an example where the final component of the link
> should be resolved ?
---
	What happens if 'dir' is a symlink, "-n" is used, and
'/' (or '/.') is appended to "dir" in the above example?

	Would that force 'dir' to be resolved, on the basis that
'/' would be the final component.  Some, might argue that it's a separator
and not a component, but, historically, the three haven't given
synonymous semantics.

	





This bug report was last modified 9 years and 10 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.