﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	launchpad_bug
645	connecting to sftp frontend using sshfs fails from linux client	azazel	azazel	"Strange error, i've tried 3 linux clients, and to specify two commandline variations:

  sshfs -C -p 8022 server: local_dir

and

  sshfs -C -p 8022 server:/ local_dir

boh fail in setting up the mount with errors like:

  server:.: Operation not permitted

on the client and tracebacks like this on the server:

  2009-02-26 15:37:57+0100 [SSHChannel session (0) on SSHService ssh-connection on SSHServerTransport,0,88.1
  49.141.217] GETATTRS . 1
  2009-02-26 15:37:57+0100 [SSHChannel session (0) on SSHService ssh-connection on SSHServerTransport,0,88.1
  49.141.217] Unhandled Error
        Traceback (most recent call last):
          File ""/home/azazel/wip/tahoe/darcs/tahoe/Twisted-8.2.0-py2.5-linux-i686.egg/twisted/conch/ssh/se
ssion.py"", line 105, in dataReceived
            self.client.transport.write(data)
          File ""/home/azazel/wip/tahoe/darcs/tahoe/Twisted-8.2.0-py2.5-linux-i686.egg/twisted/conch/ssh/se
ssion.py"", line 156, in write
            self.proto.dataReceived(data)
          File ""/home/azazel/wip/tahoe/darcs/tahoe/Twisted-8.2.0-py2.5-linux-i686.egg/twisted/conch/ssh/fi
letransfer.py"", line 53, in dataReceived
            f(data)
          File ""/home/azazel/wip/tahoe/darcs/tahoe/Twisted-8.2.0-py2.5-linux-i686.egg/twisted/conch/ssh/fi
letransfer.py"", line 321, in packet_STAT
            d = defer.maybeDeferred(self.client.getAttrs, path, followLinks)
        --- <exception caught here> ---
          File ""/home/azazel/wip/tahoe/darcs/tahoe/Twisted-8.2.0-py2.5-linux-i686.egg/twisted/internet/def
er.py"", line 106, in maybeDeferred
            result = f(*args, **kw)
          File ""/home/azazel/wip/tahoe/lib/python2.5/site-packages/allmydata_tahoe-1.3.0_r3745-py2.5.egg/a
llmydata/frontends/sftpd.py"", line 305, in getAttrs
            d = self._get_node_and_metadata_for_path(self._convert_sftp_path(path))
          File ""/home/azazel/wip/tahoe/lib/python2.5/site-packages/allmydata_tahoe-1.3.0_r3745-py2.5.egg/a
llmydata/frontends/sftpd.py"", line 317, in _convert_sftp_path
            assert pathstring[0] == ""/""
        exceptions.AssertionError:


The same sshfs command does work when connecting to the allmydata's production sftp service."	defect	closed	major	1.7.0	code-frontend	1.3.0	fixed	test sftp reliability sshfs	rheimbuch@…	
