bug-coreutils
[Top][All Lists]
Advanced

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

Re: ln bug report


From: Paul Eggert
Subject: Re: ln bug report
Date: Mon, 05 Dec 2005 22:48:36 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

"Wu Jianglin" <address@hidden> writes:

> what i want is to override the existent symbol link java.

You might try the -T (--no-target-directory) option of GNU ln 5.3.0
or later.

> it does work on others unix platform.

Which Unix platform was that?  Solaris 10 'ln' behaves like GNU ln
here.  For example:

$ mkdir a b
$ ln -s a s
$ ls -l
total 6
drwxrwxr-x   2 eggert   faculty      512 Dec  5 22:47 a
drwxrwxr-x   2 eggert   faculty      512 Dec  5 22:47 b
lrwxrwxrwx   1 eggert   faculty        1 Dec  5 22:47 s -> a
$ ln -sf b s
$ ls -l . a
.:
total 6
drwxrwxr-x   2 eggert   faculty      512 Dec  5 22:47 a
drwxrwxr-x   2 eggert   faculty      512 Dec  5 22:47 b
lrwxrwxrwx   1 eggert   faculty        1 Dec  5 22:47 s -> a

a:
total 2
lrwxrwxrwx   1 eggert   faculty        1 Dec  5 22:47 b -> b




reply via email to

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