[ 
https://issues.apache.org/jira/browse/HADOOP-6962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo (Nicholas), SZE updated HADOOP-6962:
-------------------------------------------

    Hadoop Flags:   (was: [Reviewed])

> +1 patch looks good.

On a second thought, the non static mkdirs(f, perm) should create all dirs with 
masked perm with automatic u+wx for dir0..N-1.  We should keep the static 
mkdirs(..) as-is.  Does it make sense?

> 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