Bug with renaming symlinks in 2.1.45

Gerhard Koerting (G.Koerting@techem.ruhr-uni-bochum.de)
Fri, 18 Jul 1997 23:42:08 +0200 (MET DST)


There is a bug with dentries and renaming symlinked files (2.1.45):

koerting:~/tmp $ ls -l
total 0
-rw-r--r-- 1 gerhard users 0 Jul 18 23:38 x
lrwxrwxrwx 1 gerhard users 1 Jul 18 23:38 y -> x
koerting:~/tmp $ mv y z
koerting:~/tmp $ ls -l
total 0
lrwxrwxrwx 1 gerhard users 1 Jul 18 23:38 y -> x
-rw-r--r-- 1 gerhard users 0 Jul 18 23:38 z

The mv hasn't renamed the symlink but the file pointed to by the link.

Gerhard Koerting

-- 
Gerhard Koerting		FAX:   +49 2324 947418
Technical Chemistry		Email: G.Koerting@techem.ruhr-uni-bochum.de
Ruhr-University Bochum
D-44780 Bochum, Germany