You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Goldstein Lyor (JIRA)" <ji...@apache.org> on 2019/02/24 17:38:00 UTC

[jira] [Resolved] (SSHD-899) Permissions of a file being reset when user sends attributes even during read

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

Goldstein Lyor resolved SSHD-899.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.3.0

> Permissions of a file being reset when user sends attributes even during read
> -----------------------------------------------------------------------------
>
>                 Key: SSHD-899
>                 URL: https://issues.apache.org/jira/browse/SSHD-899
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Subramaniajeeva
>            Assignee: Goldstein Lyor
>            Priority: Minor
>             Fix For: 2.3.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> As per [https://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#page-36],
>  The 'attrs' field is ignored if an existing file is opened.
>  As it is, attributes are being considered even if the file exists. This results in resetting permission even when file is opened for read.
>  
> This is what I find in debug logs when the issue occurs:
> [id=26] SSH_FXP_OPEN (path=/a/b/c.txt, access=0x81, pflags=0x2, attrs=\{permissions=[]})



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)