Your message dated Wed, 23 Jan 2008 11:54:07 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#121776: fileutils: mv misbehaves when source pathname is a
symlink and ends in a /
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: fileutils
Version: 4.1-7
Severity: normal
Note how the first mv does a rename() on the symlink, while the second
duplicates the file tree then deletes the original symlink.
Presumably this has to do with this snippet from `info mv':
`mv' can move any type of file from one filesystem to another.
Prior to version `4.0' of the fileutils, `mv' could move only regular
files between filesystems. For example, now `mv' can move an entire
directory hierarchy including special device files from one partition
straum% mkdir foo
straum% touch foo/a foo/b
straum% ln -s foo bar
straum% mv bar zork
straum% ls -lF
total 1
drwxrwxr-x 2 adi adi 1024 Nov 29 16:17 foo/
lrwxrwxrwx 1 adi adi 3 Nov 29 16:17 zork -> foo/
straum% mv zork/ bar
straum% ls -lF
total 2
drwxrwxr-x 2 adi adi 1024 Nov 29 16:17 bar/
drwxrwxr-x 2 adi adi 1024 Nov 29 16:17 foo/
straum% mv --version
mv (fileutils) 4.1
Written by Mike Parker, David MacKenzie, and Jim Meyering.
-- System Information
Debian Release: testing/unstable
Kernel Version: Linux straum 2.4.16 #1 SMP Wed Nov 28 21:25:44 CST 2001 i686
unknown
Versions of the packages fileutils depends on:
ii libc6 2.2.4-6 GNU C Library: Shared libraries and Timezone
--- End Message ---
--- Begin Message ---
Version: 6.10-1
Hi,
The behaviour of "mv symlink-to-dir/ dir2" changed. It is still
inconsistent with the info documentation, but that bug is documented in
bug #343652.
I am closing bugs #121776 and #122233 since the incorrect behaviour
described by those bugs no longer happens.
--
| Lucas Nussbaum
| [EMAIL PROTECTED] http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED] GPG: 1024D/023B3F4F |
--- End Message ---