Repository: mina-sshd Updated Branches: refs/heads/master ba4772a23 -> 97b38fb08
[SSHD-318] VirtualFileSystemFactory does not work under Windows Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/29ff339c Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/29ff339c Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/29ff339c Branch: refs/heads/master Commit: 29ff339cfadb43871378126cfa8f5625653b2608 Parents: ba4772a Author: Guillaume Nodet <[email protected]> Authored: Mon Jun 16 11:28:42 2014 +0200 Committer: Guillaume Nodet <[email protected]> Committed: Mon Jun 16 11:28:42 2014 +0200 ---------------------------------------------------------------------- .../sshd/common/file/virtualfs/VirtualFileSystemFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/29ff339c/sshd-core/src/main/java/org/apache/sshd/common/file/virtualfs/VirtualFileSystemFactory.java ---------------------------------------------------------------------- diff --git a/sshd-core/src/main/java/org/apache/sshd/common/file/virtualfs/VirtualFileSystemFactory.java b/sshd-core/src/main/java/org/apache/sshd/common/file/virtualfs/VirtualFileSystemFactory.java index 052d864..21d6cc7 100644 --- a/sshd-core/src/main/java/org/apache/sshd/common/file/virtualfs/VirtualFileSystemFactory.java +++ b/sshd-core/src/main/java/org/apache/sshd/common/file/virtualfs/VirtualFileSystemFactory.java @@ -73,7 +73,7 @@ public class VirtualFileSystemFactory implements FileSystemFactory { String dir = computeRootDir(session.getUsername()); Map<String, String> roots = new HashMap<String, String>(); roots.put("/", dir); - return new NativeFileSystemView(session.getUsername(), roots, "/"); + return new NativeFileSystemView(session.getUsername(), roots, "/", '/', false); } }
