[
https://issues.apache.org/jira/browse/HDFS-2427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13125432#comment-13125432
]
Tsz Wo (Nicholas), SZE commented on HDFS-2427:
----------------------------------------------
> ... When i manually create the dir using bin/hadoop dfs -mkdir hdfs:// or
> webhdfs:// paths it gets 755 permission
This is because of umask.
For the REST interface, there is no way to get client umask in the NameNode
side so that FsPermission.getDefault(), which returns 777, is used.
> webhdfs mkdirs api call creates path with 777 permission, we should default
> it to 755
> -------------------------------------------------------------------------------------
>
> Key: HDFS-2427
> URL: https://issues.apache.org/jira/browse/HDFS-2427
> 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