mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian d'Heureuse (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SSHD-318) VirtualFileSystemFactory does not work under Windows
Date Fri, 02 May 2014 17:59:14 GMT
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)

Mime
View raw message