mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SSHD-318) VirtualFileSystemFactory does not work under Windows
Date Mon, 16 Jun 2014 12:40:02 GMT

     [ 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)

Mime
View raw message