[
https://issues.apache.org/jira/browse/VFS-502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14910203#comment-14910203
]
Arnaud Linz commented on VFS-502:
---------------------------------
Hi, I was unable to reproduce it. Seems OK to me.
> Cannot open a sFTP FileObject pointing on the root directory, create a local
> FS object instead
> -----------------------------------------------------------------------------------------------
>
> Key: VFS-502
> URL: https://issues.apache.org/jira/browse/VFS-502
> Project: Commons VFS
> Issue Type: Bug
> Affects Versions: 2.0
> Environment: Linux (CentOS)
> Reporter: Arnaud Linz
>
> Creating a FileObject to uri "sftp://@myhost/", with setUserDirIsRoot to
> true, gives access to the local file system and not the sftp server...
> Accessing file "/foo/bar" with resolveFile(rootFileObject, "/foo/bar") with
> rootFileObject created from the "sftp://@myhost/" uri returns a local fs
> object, where as accessing file "bar" from "sftp://@myhost/foo" returns the
> remote object.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)