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

Hongbing Wang commented on HDDS-7933:
-------------------------------------

I also encountered this problem. Can be added but can't get.

 
{code:java}
[hadoop@hadoop01 ~]$ ozone sh prefix addacl -a=group:g1:w vol1/buk1/pre1
ACL group:g1:w[ACCESS] added successfully.
[hadoop@hadoop01 ~]$
[hadoop@hadoop01 ~]$ ozone sh prefix getacl vol1/buk1/pre1
PREFIX_NOT_FOUND Invalid prefix name: pre1 {code}
 

 

> Prefix ACL's are undocumented, (and don't seem to work.)
> --------------------------------------------------------
>
>                 Key: HDDS-7933
>                 URL: https://issues.apache.org/jira/browse/HDDS-7933
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: George Jahad
>            Priority: Minor
>
> I have been unable to get prefix ACL's to work. (They are listed as an object 
> type here: https://ozone.apache.org/docs/1.3.0/security/securityacls.html )  
> Because they are undocumented I'm not sure if I'm doing something wrong or if 
> they are just broken.
> It doesn't seem like anybody uses them, so it is fine with me if we just 
> deprecate them.
> The only reason they came up is because I was adding support for native ACL's 
> to snapshotting.  I noticed them in the code and thought I should make sure 
> they work for snapshots as well.  But if no one is using them I won't bother.
> FYI:  Here is how I tried to get them to work:
> https://gist.github.com/GeorgeJahad/7601d00278060264dc57b13e368c46f4



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to