bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14116: [PATCH] ln: allow to overwrite relative symlink


From: Linda Walsh
Subject: bug#14116: [PATCH] ln: allow to overwrite relative symlink
Date: Sun, 07 Apr 2013 00:20:51 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Gecko/20100228 Lightning/0.9 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666


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.

        






reply via email to

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