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 "Chris Nauroth (JIRA)" <ji...@apache.org> on 2014/01/09 00:10:50 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13866027#comment-13866027 ] 

Chris Nauroth commented on HADOOP-10213:
----------------------------------------

Here is an example on Linux showing rejection of an attempt to specify permissions in an ACL spec with setfacl -x:

{code}
> setfacl -x user:bruce:rw- file2
setfacl: Option -x: Invalid argument near character 12
{code}

Both of the following are correct syntax:

{code}
setfacl -x user:bruce file2
setfacl -x user:bruce: file2
{code}

[~vinayrpet], if you're interested in taking this, would you please assign the issue to yourself?  Thanks!

> 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
>
> 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)