Re: 2.1.76: weird behavior of "ln -sf dir link"

Matthew Kirkwood (weejock@ferret.lmh.ox.ac.uk)
Sat, 17 Jan 1998 12:58:35 +0000 (GMT)


On 17 Jan 1998, Vladimir Volovich wrote:

> I've found a weird behavior of creating a symbolic links to
> directories. If the link to directory already exists, then "ln -sf"
> will not be able to change the link:

Have a look inside the directory which "link" already points to.

Your (dangling) symlink will be in there...

(Yes, it gets me everytime I make a symlink to a new kernel in /usr/src,
too :)

Matthew.

-- 
Matthew Kirkwood  |  Mail:  matthew.kirkwood@lmh.ox.ac.uk
LMH JCR,          |  Web:   http://www-jcr.lmh.ox.ac.uk/~weejock/
Oxford OX2 6QA,   |  
England.          |  "To do things badly is a basic human right"