GNU bug report logs - #21290
ln --relative bug?

Previous Next

Package: coreutils;

Reported by: Matteo Cerutti <matteo.cerutti <at> hotmail.co.uk>

Date: Tue, 18 Aug 2015 15:32:01 UTC

Severity: normal

Tags: notabug

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Matteo Cerutti <matteo.cerutti <at> hotmail.co.uk>
To: 21290 <at> debbugs.gnu.org
Subject: bug#21290: ln --relative bug?
Date: Tue, 18 Aug 2015 13:04:38 +0200
[Message part 1 (text/plain, inline)]
Hi,

is this the expected behavior?

# ln -s /tmp/non_existent_file b
# ln -s --relative b c
# ls -lrth
total 0
lrwxrwxrwx. 1 root root 22 Aug 18 13:03 b -> /tmp/non_existent_file
lrwxrwxrwx. 1 root root 20 Aug 18 13:03 c -> ../non_existent_file
#

shouldn't c point to b?

Mind that it doesn't happen when the --relative option is absent.

Cheers,
Matteo
 		 	   		  
[Message part 2 (text/html, inline)]

This bug report was last modified 6 years and 272 days ago.

Previous Next


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