bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Huge bug in mv 4.1.11 (i386)


From: Eric Blake
Subject: Re: Huge bug in mv 4.1.11 (i386)
Date: Wed, 09 May 2007 06:09:49 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

bug-fileutils is obsolete; fileutils was merged into coreutils years ago,
and the latest stable version is 6.9.

According to SteŽphane Asco‘et on 5/9/2007 3:31 AM:
> Hello, I've lost data with this bug: When moving a complete tree from
> one volume to another, if the process can't continue(eg because the
> volume is full), the files that mv started to move are left as they are,
> meaning that lots of them are incomplete! There is a big risk that the
> user trust the files without seeing that they are incomplete. Same
> problem for folders, often they are created, but without all their files
> and subdirectories. Thus, a solution MUST be found. Why not checking the
> space left before starting to move something?

Consider upgrading.  The latest version of mv complies much more closely
with POSIX, and hopefully the bug you mentioned has been fixed, since
POSIX does require that "termination at any point shall leave either
source_file or the destination path complete."

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGQboN84KuGfSFAYARAi9FAKCaeT//CI01jktVfPxcCQlkcRlEnwCfZrAR
sN5EaKNAyMpGhpVuBpf0Tbs=
=wRXJ
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]