hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Gupta (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2462) webhdfs create a file that exists and overwrite it also changes the permission of the file
Date Mon, 17 Oct 2011 22:45:10 GMT

    [ https://issues.apache.org/jira/browse/HDFS-2462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13129298#comment-13129298
] 

Arpit Gupta commented on HDFS-2462:
-----------------------------------

Here are the steps
1. Load a file to hdfs
2. change the permission to 755
3. Issue a create rest call and send overwrite=true for the above file
4. check the permission of the file after it got overwritten

actual: rw-r--r--
expected: rwxr-xr-x

If one is overwriting an existing file, it should not change the permission of that file unless
explicitly asked for.
                
> webhdfs create a file that exists and overwrite it also changes the permission of the
file
> ------------------------------------------------------------------------------------------
>
>                 Key: HDFS-2462
>                 URL: https://issues.apache.org/jira/browse/HDFS-2462
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>


--
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

        

Mime
View raw message