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

Tsz Wo (Nicholas), SZE commented on HDFS-1869:
----------------------------------------------

+1 patch look good.

Jenkins is going to shut down (shown from its web page).  Let's resubmit it 
tomorrow.
                
> mkdirs should use the supplied permission for all of the created directories
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-1869
>                 URL: https://issues.apache.org/jira/browse/HDFS-1869
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.23.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.23.0
>
>         Attachments: HDFS-1869-2.patch, HDFS-1869-3.patch, HDFS-1869.patch
>
>
> Mkdirs only uses the supplied FsPermission for the last directory of the 
> path.  Paths 0..N-1 will all inherit the parent dir's permissions -even if- 
> inheritPermission is false.  This is a regression from somewhere around 
> 0.20.9 and does not follow posix semantics.

--
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

        

Reply via email to