When I move a symbolic link (softlink) which points to a dir with
"mv X11/ X11-old"
It starts to copy the whole dir X11 points to and tries to delete the
contents of the origional dir afterwards. (not even the symlink ;-)
so:
ls -al
lrwxrwxrwx 1 zander users 35 May 31 16:52 X11 ->
/usr/i486-glibc20-linux/include/X11/
mv X11/ x
'generates lots of "Permission denied" messages'
ls -al
lrwxrwxrwx 1 zander users 35 May 31 16:52 X11 ->
/usr/i486-glibc20-linux/include/X11/
drwxr-xr-x 11 zander users 4096 May 31 14:19 x/
My opinion is that a directory should never be copied at all (using mv). Simply
because of user rights etc. People should actively use cp and rm for
'renames' across devices.
So my bug report is:
Why does a copy/delete occur if a symbolic link is renamed
And on top of that:
It is my opinion that the move command should never start copying a dir
if a simple rename doesn't work. More intelligent error logging would
be a lot better.
using: Suse 6.3 and mv (GNU fileutils) 4.0 rpm: fileutil-4.0-21
--
Thomas Zander [EMAIL PROTECTED]
The only thing worse than failure is the fear of trying something new