[tahoe-lafs-trac-stream] [tahoe-lafs] #1965: FTP/SFTP/FUSE: report malformed cap at login instead of use-time

tahoe-lafs trac at tahoe-lafs.org
Mon May 6 15:15:38 UTC 2013


#1965: FTP/SFTP/FUSE: report malformed cap at login instead of use-time
-------------------------------------------+---------------------------
 Reporter:  zooko                          |          Owner:
     Type:  enhancement                    |         Status:  new
 Priority:  normal                         |      Milestone:  undecided
Component:  code-frontend                  |        Version:  1.10.0
 Keywords:  ftp sftp fuse usability error  |  Launchpad Bug:
-------------------------------------------+---------------------------
 I was experimenting with the SFTP server and I accidentally pasted a
 malformed (truncated) cap into the config. It reports this reasonably well
 when I try to use it:

 {{{
 lftp acct at 127.0.0.1:~> ls
 ls: Access failed: cannot list an unknown cap as a directory. Upgrading
 the gateway to a later Tahoe-LAFS version may help
 }}}

 (Actually that's not a great error message — it should tell me that this
 is a malformed cap, not a cap of an unknown type — but that's the topic of
 a different ticket.)

 It would be better if it reported this error as soon as I login rather
 than waiting until I try to "ls" something.

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


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