GNU bug report logs - #17126
error of relative symbolic link with directory

Previous Next

Package: coreutils;

Reported by: Er-Min Wang <wagermn <at> gmail.com>

Date: Fri, 28 Mar 2014 00:04:02 UTC

Severity: normal

Tags: patch

Merged with 14116, 23564

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

Bug is archived. No further changes may be made.

Full log


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

From: Pádraig Brady <P <at> draigBrady.com>
To: Er-Min Wang <wagermn <at> gmail.com>
Cc: 17126 <at> debbugs.gnu.org
Subject: Re: bug#17126: error of relative symbolic link with directory
Date: Fri, 28 Mar 2014 00:18:11 +0000
unarchive 14116
forcemerge 14116 17126
stop

On 03/27/2014 11:49 PM, Er-Min Wang wrote:
> $ ln --version
> ln (GNU coreutils) 8.20
>
> $ mkdir -p aaa/aaa1 bbb
> $ tree .
> .
> |-- aaa
> |   `-- aaa1
> `-- bbb
>
> $ cd aaa
> $ ln -fnrsv aaa1 ../bbb/
> ‘../bbb/aaa1’ -> ‘../aaa/aaa1’
> $ ln -fnrsv aaa1 ../bbb/
> ‘../bbb/aaa1’ -> ‘aaa1’

Already fixed in the last 8.22 release:
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commit;h=e52293aa

You might want to log a bug with your distro to backport the fix?

thanks,
Pádraig.




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.