Arnaud Linz created VFS-502: ------------------------------- Summary: 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.1#6144)