[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2329: cp -r stops with an exception
Tahoe-LAFS
trac at tahoe-lafs.org
Wed Feb 18 08:36:04 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 warner):
Updated table for `cp [-r] X local/`, where `local` already exists:
=||= command =||= FILECAP =||= DIRCAP/file =||= =||= PARENTCAP/dir =||=
DIRCAP =||= DIRCAP_ALIAS: =||=
|| cp || - || local/file || || ERROR-4b || -
|| - ||
|| cp -r || - || local/file || || local/dir/file || -
|| - ||
|| cp -R || - || local/file || || local/dir/file || -
|| - ||
|| 1.10 || ERROR-2 || local/file || || local/file || ERROR-4
|| ERROR-4 ||
|| 1.10 -r || ERROR-2 || local/file || || local/file || local/file
|| local/file ||
|| trunk || ERROR-2 || local/file || || local/file || ERROR-4
|| ERROR-4 ||
|| trunk -r || ERROR-2 || local/file || || local/dir/file ||
EXCEPTION-1 || EXCEPTION-1 ||
And for `cp [-r] X local/missing`, where `local` exists but `missing` does
not:
=||= command =||= FILECAP =||= DIRCAP/file =||= =||=
PARENTCAP/dir =||= DIRCAP =||= DIRCAP_ALIAS: =||=
|| cp || - || local/missing || || ERROR-4b
|| - || - ||
|| cp -r || - || local/missing || ||
local/missing/file || - || - ||
|| cp -R || - || local/missing || ||
local/missing/file || - || - ||
|| 1.10 || local/missing || local/missing || || ERROR-4
|| ERROR-4 || ERROR-4 ||
|| 1.10 -r || EXCEPTION-3 || local/missing/file || ||
local/missing/file || local/missing/file || local/missing/file ||
|| trunk || local/missing || local/missing || || ERROR-4
|| ERROR-4 || ERROR-4 ||
|| trunk -r || EXCEPTION-3 || local/missing/file || ||
local/missing/dir/file || EXCEPTION-1 || EXCEPTION-1 ||
* EXCEPTION-1: `build_graphs()`, `NoneType has no attribute startswith`
* ERROR-2: you must specify a destination filename
* EXCEPTION-3: `put_file()` line 156, `name` is None but precondition
requires `isinstance(unicode)`
* ERROR-4: cannot copy directories without --recursive
* ERROR-4b: X is a directory (not copied)
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2329#comment:35>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list