[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2329: cp -r stops with an exception

Tahoe-LAFS trac at tahoe-lafs.org
Wed Feb 11 16:06:13 UTC 2015


#2329: cp -r stops with an exception
-------------------------+-------------------------------------------------
     Reporter:  zooko    |      Owner:  warner
         Type:  defect   |     Status:  assigned
     Priority:  major    |  Milestone:  1.10.1
    Component:  code-    |    Version:  1.10.0
  frontend-cli           |   Keywords:  regression tahoe-cp review-needed
   Resolution:           |  release-blocker
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by daira):

 We discussed this during Nuts and Bolts, and I was persuaded that we
 should Zooko's comment:27 algorithm despite the difference from `/bin/cp`
 (as tested on OS X). The clinching arguments were:
 * `/bin/cp` doesn't behave consistently across platforms anyway. Its
 different treatment of a trailing slash on some platforms is confusing and
 I don't think we should emulate that.
 * Zooko's proposed algorithm has a symmetry between the target-present and
 target-not-present cases that I hadn't previously noticed, and that may
 help to prevent race conditions.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2329#comment:34>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list