[
https://issues.apache.org/jira/browse/HDFS-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13129302#comment-13129302
]
Arpit Gupta commented on HDFS-2463:
-----------------------------------
here are the steps
1. create a file on hdfs
2. set permission of the file to 400
3. use the create api to overwrite the file as the same user
Actual: Allowed to overwrite the file that was readonly.
Expected: We should not allow that
> webhdfs able to write data to a file that was readonly
> ------------------------------------------------------
>
> Key: HDFS-2463
> URL: https://issues.apache.org/jira/browse/HDFS-2463
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 0.20.205.0
> Reporter: Arpit Gupta
> Assignee: Tsz Wo (Nicholas), SZE
>
--
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