2 Replies Latest reply on Feb 13, 2013 2:43 PM by kristina.clair

    can't copy ACL for /etc node using a package

    kristina.clair Level 1



      I'm using CQ Version Service Pack 2 on linux.


      I'm trying to create a package with a group and user who have permission to read the /etc node.  When I install the package, however, the users and group get copied but the read permissions on /etc do not.


      These are the package contents:


      Dump package contents

      - META-INF/

      - META-INF/vault/
      - META-INF/vault/config.xml
      - META-INF/vault/filter.xml
      - jcr_root/.content.xml
      - jcr_root/_rep_policy.xml
      - jcr_root/etc/
      - jcr_root/etc/.content.xml
      - jcr_root/etc/_rep_policy.xml
      - jcr_root/home/
      - jcr_root/home/.content.xml
      - jcr_root/home/users/
      - jcr_root/home/users/.content.xml
      - jcr_root/home/users/r/
      - jcr_root/home/users/r/.content.xml
      - jcr_root/home/users/r/repmon/
      - jcr_root/home/users/r/repmon/.content.xml
      - jcr_root/home/groups/
      - jcr_root/home/groups/.content.xml
      - jcr_root/home/groups/c/
      - jcr_root/home/groups/c/.content.xml
      - jcr_root/home/groups/c/cq_automated_tasks/

      - jcr_root/home/groups/c/cq_automated_tasks/.content.xml

      - META-INF/vault/nodetypes.cnd

      - META-INF/vault/properties.xml

      - META-INF/vault/definition/

      - META-INF/vault/definition/.content.xml


      This is the log of the install:

      Installing content

      Creating snapshot for package test:test-users:1.0.0http://uhqlcem01:4502/crx/de/index.jsp#/crx.default/jcr%3aroot

      A META-INF
      A META-INF/vault
      A META-INF/vault/config.xml
      A META-INF/vault/filter.xml
      A META-INF/vault/nodetypes.cnd
      A META-INF/vault/properties.xml
      A /.content.xml
      A /_rep_policy.xml
      A /etc
      A /etc/.content.xml
      A /home
      A /home/.content.xml
      A /home/users
      A /home/users/.content.xml
      A /home/users/r
      A /home/users/r/.content.xml
      A /home/groups
      A /home/groups/.content.xml
      A /home/groups/c
      A /home/groups/c/.content.xml
      - Aggregation status: 7 of 2 prepared, 4 collected

      A META-INF/vault/definition/.content.xml

      Collecting import information...http://uhqlcem01:4502/crx/de/index.jsp#/crx.default/jcr%3aroot

      Installing node types...http://uhqlcem01:4502/crx/de/index.jsp#/crx.default/jcr%3aroot

      - sling -> http://sling.apache.org/jcr/sling/1.0

      - nt -> http://www.jcp.org/jcr/nt/1.0

      - rep -> internal

      - sling:Folder

      - rep:Members

      - rep:RepoAccessControllable

      Installing privileges...http://uhqlcem01:4502/crx/de/index.jsp#/crx.default/jcr%3aroot

      Importing content...http://uhqlcem01:4502/crx/de/index.jsp#/crx.default/jcr%3aroot

      A /home/groups/c/cq_automated_tasks

      A /home/users/r/repmon

      saving approx 2 nodes...http://uhqlcem01:4502/crx/de/index.jsp#/crx.default/jcr%3aroot

      Package imported.http://uhqlcem01:4502/crx/de/index.jsp#/crx.default/jcr%3aroot

      Package installed in 224ms.


      Yet, the read permissions on /etc are not present for the user and group.


      I have created similar packages to install users and permissions, and in those cases copying the user/group notes as well as the rep:policy nodes did the trick.  I don't understand why it isn't working in this case.


      Any thoughts?