You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2014/06/16 14:40:02 UTC
[jira] [Resolved] (SSHD-318) VirtualFileSystemFactory does not work
under Windows
[ https://issues.apache.org/jira/browse/SSHD-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved SSHD-318.
----------------------------------
Resolution: Fixed
Fix Version/s: 0.12.0
Assignee: Guillaume Nodet
https://git-wip-us.apache.org/repos/asf?p=mina-sshd.git;a=commit;h=29ff339cfadb43871378126cfa8f5625653b2608
> VirtualFileSystemFactory does not work under Windows
> ----------------------------------------------------
>
> Key: SSHD-318
> URL: https://issues.apache.org/jira/browse/SSHD-318
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 0.11.0
> Environment: Windows
> Reporter: Christian d'Heureuse
> Assignee: Guillaume Nodet
> Fix For: 0.12.0
>
>
> NativeFileSystemView.getNormalizedView() uses multi-root logic when the path separator is not '/', which is the case under Windows. But this multi-root logic interferes with VirtualFileSystemFactory, where there is a separate virtual root for each user.
> To solve the problem, VirtualFileSystemFactory.createFileSystemView() could pass a '/' separator to the constructor of NativeFileSystemView:
> {code}
> return new NativeFileSystemView(session.getUsername(), roots, "/", '/', false);
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)