[ https://issues.apache.org/jira/browse/HDFS-2462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13129323#comment-13129323 ]
Tsz Wo (Nicholas), SZE commented on HDFS-2462: ---------------------------------------------- Actually, setting the permission to the new one is the correct behavior. Could you try the same thing for DistributedFileSystem? You may want to set umask to 000 so that it won't affect the specified permission. > 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 > 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