[Top][All Lists]

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

BUG in mv(1) over NFS as root

From: Tom Rosenfeld
Subject: BUG in mv(1) over NFS as root
Date: Thu, 02 Oct 2003 09:13:37 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

I believe I have found a bug in mv(1). The version is:
        mv (coreutils) 4.5.3

When logged in as root and trying to mv a files from an NFS mounted directory where root 
dos NOT have permission to remove files since the dir was not exported with the 
"no_root_squash" option, if you try to mv(1) a file, it will 1st copy the file 
succesfully before getting an error on the unlink. Thus mv(1) is not atomic!

Have you seen this before?
Tom Rosenfeld
Fritz Haber Research Center
Hebrew University
Phone:  (972) 2 658-5270
Fax:    (972) 2 651-3742
E-mail: address@hidden

reply via email to

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