zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Botond Hejj <Botond.H...@MorganStanley.com>
Subject Re: Setting multiple acls on a node with zkCli
Date Mon, 12 Jan 2015 15:58:37 GMT
Hi Peter,

You can use a comma separated list like:
setAcl / world:anyone:r,ip:127.0.0.1:cdraw

Regards,
Botond

On Mon, Jan 12, 2015 at 4:33 PM, Peter Schrammel <
peter.schrammel@preisanalytics.de> wrote:

> Hi,
>
> is it possible to set multiple rules on the root node? Sth. like:
>
> setAcl / ip:127.0.0.1:cdraw
> setAcl / world:anyone:
> setAcl / ip:10.0.0.0/16:cdrw
>
> Is this possible at all and is this possible with zkCli? Whenever I set a
> rule it always overrides every other rule.
>
> BTW: for setAcl / ip:10.0.0.0/16:cdrw I always get "Acl is not valid : /
> " (zookeeper.version=3.4.6-1569965)
>
> Thanks
> Peter
>



-- 
Botond Hejj
Morgan Stanley | Technology
Lechner Odon fasor 8 | Floor 07
Budapest, 1095
Phone: +36 1 881-3962
Botond.Hejj@MorganStanley.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message