lkml.org 
[lkml]   [1997]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectBug with renaming symlinks in 2.1.45
Date

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


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.037 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site