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


View this message in rfc822 format

From: Eric Blake <eblake <at> redhat.com>
To: Er-Min Wang <wagermn <at> gmail.com>, 17126 <at> debbugs.gnu.org
Subject: bug#17126: error of relative symbolic link with directory
Date: Thu, 27 Mar 2014 18:20:57 -0600
[Message part 1 (text/plain, inline)]
On 03/27/2014 05:49 PM, Er-Min Wang wrote:
> [image: 内嵌图片 1]

We prefer plain text.  Spending 105 kb on a png when a transcript of
your console session would occupy less than 1 kb is a waste of bandwidth.

At any rate, I tried and failed to reproduce your setup:

$ cd /tmp/
$ mkdir -p aaa/aaa1 bbb
$ cd aaa
$ ln -fnrsv aaa1 ../bbb/
‘../bbb/aaa1’ -> ‘../aaa/aaa1’
$ ln -fnrsv aaa1 ../bbb/
‘../bbb/aaa1’ -> ‘../aaa/aaa1’


Using 'tree(1)' to display your directory does not necessarily provide
enough information (although it did mention that it listed 3
directories, so I'm assuming aaa1 is an empty directory - but that's
what I used above in my reproduction attempt).  Could you instead please
show 'ls -lR aaa bbb' before your 'cd aaa' step, so we have a more
complete picture of your starting setup?

Also, it would help if you explained what you thought was odd - your
graphic kind of hints at that, by how it shows the same command executed
twice with different outputs, but you could have provided more details.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]

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.