You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2012/09/12 14:33:07 UTC

[jira] [Resolved] (SSHD-177) Return SSH_FX_PERMISSION_DENIED instead of SSH_FX_FAILURE when lacking permissions in the SFTP subsystem

     [ https://issues.apache.org/jira/browse/SSHD-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved SSHD-177.
----------------------------------

    Resolution: Fixed
      Assignee: Guillaume Nodet

Committing to https://svn.apache.org/repos/asf/mina/sshd/trunk ...
	M	sshd-core/src/main/java/org/apache/sshd/server/sftp/SftpSubsystem.java
Committed r1383912

                
> Return SSH_FX_PERMISSION_DENIED instead of SSH_FX_FAILURE when lacking permissions in the SFTP subsystem
> --------------------------------------------------------------------------------------------------------
>
>                 Key: SSHD-177
>                 URL: https://issues.apache.org/jira/browse/SSHD-177
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Daniel Micol-Ponce
>            Assignee: Guillaume Nodet
>             Fix For: 0.8.0
>
>         Attachments: patch.diff
>
>
> Currently the SFTP subsystem is returning SSH_FX_FAILURE in most cases when the user lacks permissions. We should return SSH_FX_PERMISSION_DENIED instead. I'm attaching a patch for this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira