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

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

There's a bit of a conundrum here.  Owen's description of this bug wants all 
the created dirs to have the same perms.  The current patch fulfills this 
requirement, but yes, subjects the perms to the umask.  To satisfy both 
requirements, the "easy" way to implement the change is to call 
{{primitiveMkdirs}} which is marked deprecated.  Advice?

> 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