Bug 157765

Summary: sftp fails to autodetect starting directory, prevents directory creation on remote host
Product: [Frameworks and Libraries] kdelibs Reporter: Ryan Thompson <rct+bugs>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: asn
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ryan Thompson 2008-02-13 07:40:41 UTC
Version:           1.0.1 (using 4.0.1 (KDE 4.0.1), Kubuntu packages)
Compiler:          gcc
OS:                Linux (i686) release 2.6.22-14-generic

Suppose you type in the Dolphin location bar something like "sftp://username@host". This will connect to host using sftp, and it will display the default folder on that host (probably your home directory on that host). However, since you did not enter a path after the host name, Dolphin assumes that you are in the root directory. Thus, when you attempt to create a folder, it attempts to create that folder in /, and of course fails due to insufficient permissions.
Comment 1 Andreas Schneider 2009-09-08 14:02:12 UTC
kio_sftp has been rewritten using libssh in trunk (KDE 4.4). If no folder is specified it gets redirected to the home of the folder now.