Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.1-incubating
    • Fix Version/s: 2.4.0
    • Component/s: Client, Framework
    • Labels:
      None
    • Environment:
      Ubuntu 10.10

      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

            Activity

              People

              • Assignee:
                randgalt Jordan Zimmerman
                Reporter:
                benjamin.jaton Benjamin Jaton
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: