hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-6962) FileSystem.mkdirs(Path, FSPermission) should use the permission for all of the created directories
Date Wed, 18 May 2011 21:30:47 GMT

    [ 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

Mime
View raw message