[tahoe-dev] [tahoe-lafs] #705: "tahoe mv" unlinks the target even when it is a directory

tahoe-lafs trac at allmydata.org
Wed May 13 03:00:52 UTC 2009


#705: "tahoe mv" unlinks the target even when it is a directory
-------------------------------+--------------------------------------------
 Reporter:  zooko              |           Owner:       
     Type:  defect             |          Status:  new  
 Priority:  critical           |       Milestone:  1.5.0
Component:  code-frontend-cli  |         Version:  1.4.1
 Keywords:  data preservation  |   Launchpad_bug:       
-------------------------------+--------------------------------------------
 I just ran the following command:

 {{{
 tahoe mv --node-directory=~/.tahoe-volunteergrid "01 Battery.flac"
 "Metallica-Master of Puppets-4-of-6-fec"
 }}}

 Since "Metallica-Master of Puppets-4-of-6-fec" was an existing directory,
 I expected it to move the file "01 Battery.flac" into that directory.
 Instead it unlinked that directory and renamed the file to "Metallica-
 Master of Puppets-4-of-6-fec".  Fortunately the directory was empty so no
 data was lost.

-- 
Ticket URL: <http://allmydata.org/trac/tahoe/ticket/705>
tahoe-lafs <http://allmydata.org>
secure decentralized file storage grid


More information about the tahoe-dev mailing list