[
https://issues.apache.org/jira/browse/HDFS-7384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14212734#comment-14212734
]
Chris Nauroth commented on HDFS-7384:
-------------------------------------
Yes, what you described makes sense. An older client simply wouldn't consume
the new protobuf field.
I'd prefer not add the effective action directly to {{AclEntry}}, since the
effective action is something that only makes sense when the entry is
considered against some other object (the mask).
Overall, it sounds good. Thanks for thinking this through and putting out the
proposal!
> 'getfacl' command and 'getAclStatus' output should be in sync
> -------------------------------------------------------------
>
> Key: HDFS-7384
> URL: https://issues.apache.org/jira/browse/HDFS-7384
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Vinayakumar B
> Assignee: Vinayakumar B
>
> *getfacl* command will print all the entries including basic and extended
> entries, mask entries and effective permissions.
> But, *getAclStatus* FileSystem API will return only extended ACL entries set
> by the user. But this will not include the mask entry as well as effective
> permissions.
> To benefit the client using API, better to include 'mask' entry and effective
> permissions in the return list of entries.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)