mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Work logged] (SSHD-899) Permissions of a file being reset when user sends attributes even during read
Date Fri, 22 Feb 2019 04:51:00 GMT

     [ https://issues.apache.org/jira/browse/SSHD-899?focusedWorklogId=202381&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-202381
]

ASF GitHub Bot logged work on SSHD-899:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/Feb/19 04:50
            Start Date: 22/Feb/19 04:50
    Worklog Time Spent: 10m 
      Work Description: The-Yoda commented on pull request #93: [SSHD-899] Discard attributes
when file exist already.
URL: https://github.com/apache/mina-sshd/pull/93
 
 
   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 fix will discard the attributes when file exists.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 202381)
            Time Spent: 10m
    Remaining Estimate: 0h

> 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
>            Priority: Minor
>          Time Spent: 10m
>  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.
> [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)

Mime
View raw message