[tahoe-lafs-trac-stream] [tahoe-lafs] #1442: scp fails silently when copying from a Tahoe SFTP frontend; it should fail loudly

tahoe-lafs trac at tahoe-lafs.org
Sun Jul 24 12:40:04 PDT 2011


#1442: scp fails silently when copying from a Tahoe SFTP frontend; it should fail
loudly
----------------------------+----------------------------
 Reporter:  davidsarah      |          Owner:  davidsarah
     Type:  defect          |         Status:  new
 Priority:  major           |      Milestone:  undecided
Component:  code-frontend   |        Version:  1.8.2
 Keywords:  scp error sftp  |  Launchpad Bug:
----------------------------+----------------------------
 Our SFTP frontend does not support {{{scp}}}, which is fine ({{{scp}}}
 tries to open a shell over the SSH connection, rather than using SFTP, and
 the set of commands that it can issue to that shell is not well-defined).

 However, it isn't fine that it fails silently. This is probably a bug in
 {{{scp}}} rather than Tahoe, since Tahoe ''does'' report an error to the
 client when it tries to open a shell or issue unknown commands: lines 1873
 and 1888 [source:src/allmydata/frontends/sftpd.py at 4999#L1857 here]. (We
 need to accept shell connections in order to support the {{{df}}} command
 used by sshfs.) We ''might'' be able to get {{{scp}}} to fail loudly by
 reporting a different error, though.

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1442>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage


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