You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2014/01/31 19:36:09 UTC
[jira] [Resolved] (HDFS-5849) Removing ACL from an inode fails if
it has only a default ACL.
[ https://issues.apache.org/jira/browse/HDFS-5849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Nauroth resolved HDFS-5849.
---------------------------------
Resolution: Fixed
Fix Version/s: HDFS ACLs (HDFS-4685)
Hadoop Flags: Reviewed
Thanks for the review, Arpit. I committed this to the HDFS-4685 branch.
> Removing ACL from an inode fails if it has only a default ACL.
> --------------------------------------------------------------
>
> Key: HDFS-5849
> URL: https://issues.apache.org/jira/browse/HDFS-5849
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode
> Affects Versions: HDFS ACLs (HDFS-4685)
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
> Fix For: HDFS ACLs (HDFS-4685)
>
> Attachments: HDFS-5849.1.patch
>
>
> When removing an ACL, the logic must restore the group permission previously stored in an ACL entry back into the group permission bits. The logic for this in {{AclTransformation#removeINodeAcl}} assumes that the group entry must be found in the former ACL. This is not the case when removing the ACL from an inode that only had a default ACL and not an access ACL.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)