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

Tahoe-LAFS trac at tahoe-lafs.org
Tue Jan 20 20:32:16 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:           |  easy
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by warner):

 So it looks like the intention of #712 was to make a command like {{{cp -r
 A LOCAL}}} or {{{cp -r A LOCAL/}}} create {{{LOCAL/A}}}. This depends upon
 "A" including a file or directory name (eg {{{cp -r DIRCAP/foo.txt
 LOCAL/}}}). But if A is a pure cap, then it has no human-meaningful name.
 What should get created in this case?

 I think the #2329 bug is resulting from a code path that assumes it will
 be provided with a name, and the pure-cap source argument doesn't give it
 one.

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


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