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

Damien Diederen updated ZOOKEEPER-3128:
---------------------------------------
    Fix Version/s:     (was: 3.7.0)

> Get CLI Command displays Authentication error for Authorization error
> ---------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-3128
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3128
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>            Reporter: Mohammad Arshad
>            Assignee: Mohammad Arshad
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.6.3, 3.8.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> CLI Get Command display 
> "org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = 
> NoAuth for /b" when user does not have read access on the znode /b.
> Steps to reproduce the bug:
> {noformat}
> [zk: vm1:2181(CONNECTED) 1] create /b
> Created /b
> [zk: vm1:2181(CONNECTED) 2] getAcl /b
> 'world,'anyone
> : cdrwa
> [zk: vm1:2181(CONNECTED) 3] setAcl /b world:anyone:wa
> [zk: vm1:2181(CONNECTED) 4] getAcl /b
> 'world,'anyone
> : wa
> [zk: vm1:2181(CONNECTED) 5] get /b
> org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = 
> NoAuth for /b
> [zk: vm1:2181(CONNECTED) 6]
> {noformat}
> Expected output:
> {noformat}
> [zk: vm1:2181(CONNECTED) 0] get /b
> Insufficient permission : /b
> {noformat}
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to