[
https://issues.apache.org/jira/browse/SSHD-825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16490900#comment-16490900
]
Quinn Stevenson commented on SSHD-825:
--------------------------------------
I have to admit that it took me a while to figure out what you did in the last
example, but it's pretty slick.
As far as how the implementation should be, I'll leave that to the experts. I
don't know if the knowledge of a user's home directory belongs in the
filesystem factory, the rooted path, or in the SftpSubsystem. When you decide
what the best place for it is, I'll update sftp-junit to use it. Until then, I
have a solution.
Thank You very much!!
> Add support for non-chrooted SFTP users with a virtual filesystem
> -----------------------------------------------------------------
>
> Key: SSHD-825
> URL: https://issues.apache.org/jira/browse/SSHD-825
> Project: MINA SSHD
> Issue Type: Improvement
> Affects Versions: 1.7.0
> Reporter: Quinn Stevenson
> Assignee: Guillaume Nodet
> Priority: Minor
> Fix For: 2.0.0
>
>
> When the SshServer is configured for SFTP with a VirtualFileSystemFactory,
> the user is always chrooted to either the defaultHomeDir or the specific
> homeDir for the user.
> However, in order to simulate systems that are configured such that users are
> not chrooted, there should be a way to configure the system with a virtual
> root and a home directory for the use in that virtual root that is also the
> initial directory for the user when they login.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)