Christian d'Heureuse created SSHD-318:
-----------------------------------------
Summary: 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
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)