[
https://issues.apache.org/jira/browse/SSHD-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet resolved SSHD-425.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.0.0
Assignee: Guillaume Nodet
Fwiw, the patch was a bit wrong and I had to slightly alter it to have the test
pass on unix. The problem was in DefaultSftpClient#readAttributes() when
handling the {{attrs.type}} value (it's not a flag, but an enum).
https://git-wip-us.apache.org/repos/asf?p=mina-sshd.git;a=commitdiff;h=ef86ae549598eb4393433b5d666c368415c15b30
> Fix SFTP permission handling issues for Windows-based SSHD
> ----------------------------------------------------------
>
> Key: SSHD-425
> URL: https://issues.apache.org/jira/browse/SSHD-425
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 1.0.0, 0.14.0
> Reporter: Goldstein Lyor
> Assignee: Guillaume Nodet
> Priority: Minor
> Fix For: 1.0.0
>
> Attachments:
> 0028-SSHD-425-Fix-SFTP-permission-handling-issues-for-Win.patch
>
>
> Since the _Windows_ file system does not have a _permissions_ view like Unix,
> the SFTP commands that handle such permissions yield incorrect results -
> e.g., regular files are not recognized as such, read/write permissions are
> not correctly reported, etc. (and various tests in _SftpTest_ fail...). The
> code should take into account the current O/S when processing permissions and
> not assume a POSIX / Unix model.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)