hadoop-common-dev 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: (HADOOP-5769) NameNode.mkdirs does not create directories owned by current group
Date Mon, 04 May 2009 17:52:30 GMT

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

Tsz Wo (Nicholas), SZE commented on HADOOP-5769:
------------------------------------------------

In [HDFS Permissions Guide |http://hadoop.apache.org/core/docs/r0.20.0/hdfs_permissions_guide.html#Overview],
it says,
"... When a file or directory is created, its owner is the user identity of the client process,
and its group is the group of the parent directory (the BSD rule)."

Thus, this is not a bug.

> NameNode.mkdirs does not create directories owned by current group
> ------------------------------------------------------------------
>
>                 Key: HADOOP-5769
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5769
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Todd Lipcon
>
> {code}
>     return namesystem.mkdirs(src,
>         new PermissionStatus(UserGroupInformation.getCurrentUGI().getUserName(),
>             null, masked));
> {code}
> The second argument to PermissionStatus should possibly be set by the first group listed
in the current UGI.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message