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

Jordan Zimmerman commented on CURATOR-58:
-----------------------------------------

ZKPaths needs to be updated to take List<ACL>. Then, ensurePath and 
CreateBuilderImpl needs to pass it along.
                
> ACLs support for ZKPaths.mkdirs()
> ---------------------------------
>
>                 Key: CURATOR-58
>                 URL: https://issues.apache.org/jira/browse/CURATOR-58
>             Project: Apache Curator
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 2.0.1-incubating
>         Environment: Ubuntu 10.10
>            Reporter: Benjamin Jaton
>            Priority: Minor
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to