GNU bug report logs - #9896
ln man page ambiguity

Previous Next

Package: coreutils;

Reported by: Michael J Daniel <michael.j.daniel <at> comcast.net>

Date: Fri, 28 Oct 2011 16:08:01 UTC

Severity: normal

Tags: notabug

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


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

From: "Voelker, Bernhard" <bernhard.voelker <at> siemens-enterprise.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>, Jim Meyering <jim <at> meyering.net>
Cc: "9896 <at> debbugs.gnu.org" <9896 <at> debbugs.gnu.org>,
	Michael J Daniel <michael.j.daniel <at> comcast.net>
Subject: RE: bug#9896: acknowledged by developer (Re: bug#9896: ln man page
	ambiguity)
Date: Mon, 21 Nov 2011 08:53:51 +0100
 
Paul Eggert wrote:
+  -n, --no-dereference        treat LINK_NAME as a normal file if\n\
+                                it is a symbolic link to a directory\n\

IMHO that's wrong.

ln also creates a hardlink of a symlink if that points to a file:

$ touch f
$ ln -s f flink
$ ln -n flink flink-n
$ ls -li
total 0
192387 -rw-r----- 1 ecs ecs 0 2011-11-21 08:50 f
192388 lrwxrwxrwx 2 ecs ecs 1 2011-11-21 08:51 flink -> f
192388 lrwxrwxrwx 2 ecs ecs 1 2011-11-21 08:51 flink-n -> f

Have a nice day,
Berny





This bug report was last modified 13 years and 170 days ago.

Previous Next


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