hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-1869) mkdirs should use the supplied permission for all of the created directories
Date Thu, 12 May 2011 20:34:47 GMT

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

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

I think it is good to add a unit test for the 0600 case.  It would also illustrate what is
the expected behavior.

BTW, have you verified it on BSD unix?  We should make it the same as BSD, which our implementation
is based on.

> 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
>         Attachments: 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message