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

Tahoe-LAFS trac at tahoe-lafs.org
Thu Jan 22 18:13:56 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 release-blocker
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by daira):

 Splitting by whether the destination exists or not:

 * 1.10
  * (A1) `cp -r PARENTCAP/dir local/` -> `local/file.txt`
  * (A2) `cp -r PARENTCAP/dir local/missing` -> ?
  * (B1) `cp -r DIRCAP local/` -> `local/file.txt`
  * (B2) `cp -r DIRCAP local/missing` -> ?
  * (C1) `cp -r DIRCAP_ALIAS: local/` -> `local/file.txt`
  * (C2) `cp -r DIRCAP_ALIAS: local/missing` -> ?
  * (D1) `cp -r DIRCAP/file.txt local/` -> `local/file.txt`
  * (D2) `cp -r DIRCAP/file.txt local/missing` -> `local/missing`
  * (E1) `cp -r FILECAP local/` -> "error, you must specify a destination
 filename"
  * (E2) `cp -r FILECAP local/missing` -> `local/missing`
  * note the target's trailing slash is optional: `local/` and `local`
 behave the same way
 * trunk (e73d76e)
  * (F1) `cp -r PARENTCAP/dir local/` -> `local/dir/file.txt`
  * (F2) `cp -r PARENTCAP/dir local/missing` -> ?
  * (G1) `cp -r DIRCAP local/` -> (exception)
  * (G2) `cp -r DIRCAP local/missing` -> (exception)
  * (H1) `cp -r DIRCAP_ALIAS: local/` -> (exception)
  * (H2) `cp -r DIRCAP_ALIAS: local/missing` -> (exception)
  * (I1) `cp -r DIRCAP/file.txt local/` -> `local/file.txt`
  * (I2) `cp -r DIRCAP/file.txt local/missing` -> `local/missing`
  * (J1) `cp -r FILECAP local/` -> "error, you must specify a destination
 filename"
  * (J2) `cp -r FILECAP local/missing` -> `local/missing`

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


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