You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Daniel Micol-Ponce (JIRA)" <ji...@apache.org> on 2012/07/11 16:16:33 UTC

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

Daniel Micol-Ponce created SSHD-177:
---------------------------------------

             Summary: 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
             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Daniel Micol-Ponce (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SSHD-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Micol-Ponce updated SSHD-177:
------------------------------------

    Attachment: patch.diff
    
> 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
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Daniel Micol-Ponce (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SSHD-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Micol-Ponce updated SSHD-177:
------------------------------------

    Attachment: patch.diff
    
> 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
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ 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

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

Posted by "Daniel Micol-Ponce (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SSHD-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Micol-Ponce updated SSHD-177:
------------------------------------

    Attachment:     (was: patch.diff)
    
> 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
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira