[tahoe-lafs-trac-stream] [tahoe-lafs] #1999: confusing error message when (S)FTP accounts file has malformed URL

tahoe-lafs trac at tahoe-lafs.org
Fri Jun 7 22:22:35 UTC 2013


#1999: confusing error message when (S)FTP accounts file has malformed URL
-----------------------------+---------------------------
 Reporter:  zooko            |          Owner:
     Type:  defect           |         Status:  new
 Priority:  normal           |      Milestone:  undecided
Component:  code-frontend    |        Version:  1.10.0
 Keywords:  usability error  |  Launchpad Bug:
-----------------------------+---------------------------
 A user on IRC was setting up FUSE↔sshfs↔Tahoe-SFTP-server↔LAFS. He
 connected to the Tahoe-SFTP-server with the "sftp" client, issued the
 command "ls", and got this error message:
 {{{
 remote readdir("/"): Permission denied
 }}}
 It finally turned out to be that the dir cap in his accounts file had a
 trailing "/" character on it. Removing that made the error message go away
 and the SFTP server start working. To close this ticket, make it so that
 the error message in a case like this gives the user a clue that something
 is wrong with the cap.

 (This might actually be hard to accomplish, if there isn't a way to send
 back an arbitrary error message in the SFTP protocol in response to the
 SFTP client's "ls" command.)

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


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