[
https://issues.apache.org/jira/browse/SSHD-899?focusedWorklogId=203273&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-203273
]
ASF GitHub Bot logged work on SSHD-899:
---------------------------------------
Author: ASF GitHub Bot
Created on: 24/Feb/19 17:36
Start Date: 24/Feb/19 17:36
Worklog Time Spent: 10m
Work Description: lgoldstein commented on pull request #94: [SSHD-899]
Ignore file attributes when opening an existing SFTP file handle
URL: https://github.com/apache/mina-sshd/pull/94
----------------------------------------------------------------
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 203273)
Time Spent: 1h (was: 50m)
> 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
> 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)