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

tahoe-lafs trac at allmydata.org
Tue May 12 20:13:04 PDT 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:  reliability        |   Launchpad_bug:       
-------------------------------+--------------------------------------------

Comment(by kpreid):

 Suggestion:

  1. Have the move-into behavior triggered not by the presence of a
 directory, but of a trailing slash in the target pathname. The former
 behavior makes it harder to e.g. write robust scripts.
  2. To improve the behavior in the case you had, fail or prompt instead of
 overwriting an existing item, by default.

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


More information about the tahoe-dev mailing list