hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6375) Listing extended attributes with the search permission
Date Fri, 16 May 2014 10:54:29 GMT

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

Andrew Wang commented on HDFS-6375:
-----------------------------------

Thanks Charles, a few comments:

* We shouldn't be mutating XAttrs, since I think with this patch, it wipes out the value of
our ownly in-memory copy. We need to build a fresh set with just the name.
* We also should have some tests verifying this behavior, hopefully would have caught the
above
* Extra {{LOG.info("has ReadAccess}}

> Listing extended attributes with the search permission
> ------------------------------------------------------
>
>                 Key: HDFS-6375
>                 URL: https://issues.apache.org/jira/browse/HDFS-6375
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>    Affects Versions: HDFS XAttrs (HDFS-2006)
>            Reporter: Andrew Wang
>            Assignee: Charles Lamb
>         Attachments: HDFS-6375.1.patch, HDFS-6375.2.patch
>
>
> From the attr(5) manpage:
> {noformat}
>        Users with search access to a file or directory may retrieve a list  of
>        attribute names defined for that file or directory.
> {noformat}
> This is like doing {{getfattr}} without the {{-d}} flag, which we currently don't support.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message