Details
Description
ZKPaths always creates parent node using the OPEN_ACL_UNSAFE ACL:
line 168:
zookeeper.create(subPath, new byte[0], ZooDefs.Ids.OPEN_ACL_UNSAFE, CreateMode.PERSISTENT);
As a result:
- EnsurePath.ensure(..)
- CreateBuilderImpl.backgroundCreateParentsThenNode
- CreateBuilderImpl.pathInForeground
will never use the ACLProvider and will always create unprotected nodes.
The workaround is not to use those methods and create the parents manually, node by node.
Attachments
Issue Links
- is depended upon by
-
OOZIE-1491 Make sure HA works with a secure ZooKeeper
- Closed
- is related to
-
CURATOR-244 Creating parents with ACLProvider puts wrong ACLs on znodes
- Resolved