bug with ln command on Debian

"Pascal Dugenie" <[email protected]> Mon, 19 May 2003 15:30:32 +0200
Newsgroups gmane.comp.gnu.fileutils.bugs
Message-ID <[email protected]>
The ln command has the following bugs :

BUG 1. The directories mydir/subdir and tmp exist
Type
ln -sf mydir/subdir --target-directory=tempdir

The response is cannot overwrite tempdir
What is expected is a symbolic link tempdir/subdir -> ../mydir/subdir



BUG 2. The symblink mylink exist and you try to force writing on it:

eg: mylink -> anywhere

ln –sf mydir/mylink
works
mylink -> mydir/mylink

however,
ln –sf mydir/subdir mylink
does not work, still:
mylink -> anywhere