[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2447: `tahoe cp alias1:dir1/fname alias1:dir2/fname .` overwrites one of the files

Tahoe-LAFS trac at tahoe-lafs.org
Wed Jun 10 04:07:43 UTC 2015


#2447: `tahoe cp alias1:dir1/fname alias1:dir2/fname .` overwrites one of the
files
-----------------------------------+-----------------------
     Reporter:  zooko              |      Owner:
         Type:  defect             |     Status:  new
     Priority:  normal             |  Milestone:  undecided
    Component:  code-frontend-cli  |    Version:  1.10.0
   Resolution:                     |   Keywords:  tahoe-cp
Launchpad Bug:                     |
-----------------------------------+-----------------------

Comment (by warner):

 The /bin/cp on OS-X 10.10 (which claims "The cp command is expected to be
 POSIX.2 compatible") silently uses the second copy, just like tahoe
 currently does:

 {{{
 % mkdir dir1
 % echo one >dir1/fname
 % mkdir dir2
 % echo two >dir2/fname
 % cp dir1/fname dir2/fname .
 % cat fname
 two
 %
 }}}

 My linux box complains with the same error you listed.

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


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