You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2014/01/18 23:46:19 UTC
[jira] [Updated] (HDFS-5613) NameNode: implement handling of ACLs
in combination with symlinks.
[ https://issues.apache.org/jira/browse/HDFS-5613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Nauroth updated HDFS-5613:
--------------------------------
Attachment: HDFS-5613.1.patch
This patch updates {{TestPermissionSymlinks}}. This class already contained tests covering various settings for permission bits and how they interact with symlinks. I made a duplicate of each test to cover the same thing using an ACL instead of permission bits. I refactored so that the two variants of each test (permission bits and ACLs) share a lot of common logic.
As I expected, everything worked fine with ACLs in the current code. These tests passed without any need to make further changes in the product code.
> NameNode: implement handling of ACLs in combination with symlinks.
> ------------------------------------------------------------------
>
> Key: HDFS-5613
> URL: https://issues.apache.org/jira/browse/HDFS-5613
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: namenode
> Affects Versions: HDFS ACLs (HDFS-4685)
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
> Attachments: HDFS-5613.1.patch
>
>
> A symlink in HDFS does not have an ACL of its own. Operations that modify the ACL of a symlink instead modify the target of the symlink. For operations that enforce ACLs, enforcement is on the target of the symlink. This is similar to existing handling of permissions for symlinks.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)