You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Vinay (JIRA)" <ji...@apache.org> on 2014/01/09 11:45:51 UTC

[jira] [Updated] (HADOOP-10213) setfacl -x should reject attempts to include permissions in the ACL spec.

     [ https://issues.apache.org/jira/browse/HADOOP-10213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinay updated HADOOP-10213:
---------------------------

    Attachment: HADOOP-10213.patch

Attached the patch for validation for -x.

Also removed the permissions from equals() and hashCode() as AclEntry always may not carry permissions.

> setfacl -x should reject attempts to include permissions in the ACL spec.
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-10213
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10213
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: HDFS ACLs (HDFS-4685)
>            Reporter: Chris Nauroth
>            Assignee: Vinay
>         Attachments: HADOOP-10213.patch
>
>
> When calling setfacl -x to remove ACL entries, it does not make sense for the entries in the ACL spec to contain permissions.  The permissions should be unspecified, and the CLI should return an error if the user attempts to provide permissions.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)