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

Daryn Sharp commented on HADOOP-6962:
-------------------------------------

Hadoop's mkdirs used to follow posix and create dirs with correct permissions, 
but the semantics were broken sometime after 0.20.9.  Yes, currently the 
semantics differ for localfs (follows posix) and hdfs (does not).  This patch 
restores posix compliance for hdfs mkdirs.


> FileSystem.mkdirs(Path, FSPermission) should use the permission for all of 
> the created directories
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6962
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6962
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>            Reporter: Owen O'Malley
>            Assignee: Daryn Sharp
>         Attachments: HADOOP-6962.patch
>
>
> Currently, FileSystem.mkdirs only applies the permissions to the last level 
> if it was created. It should be applied to *all* levels that are created.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to