Description
When creating a package using PackageManagerImpl.assemble() the package manager session used always requires read access to the root node, due to the call to Session.getRootNode().
Caused by: javax.jcr.AccessDeniedException: Root node is not accessible. at org.apache.jackrabbit.oak.jcr.session.SessionImpl$4.perform(SessionImpl.java:304) at org.apache.jackrabbit.oak.jcr.session.SessionImpl$4.perform(SessionImpl.java:298) at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:209) at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getRootNode(SessionImpl.java:298) at org.apache.jackrabbit.vault.packaging.impl.JcrPackageManagerImpl.getPackageRoot(JcrPackageManagerImpl.java:637) at org.apache.jackrabbit.vault.packaging.impl.JcrPackageManagerImpl.listPackages(JcrPackageManagerImpl.java:683) at org.apache.jackrabbit.vault.packaging.impl.JcrPackageManagerImpl.validateSubPackages(JcrPackageManagerImpl.java:490) at org.apache.jackrabbit.vault.packaging.impl.JcrPackageManagerImpl.assemble(JcrPackageManagerImpl.java:458) at org.apache.jackrabbit.vault.packaging.impl.JcrPackageManagerImpl.assemble(JcrPackageManagerImpl.java:447)
I'm using version 3.1.20 (as reported by felix console), but somehow this version is not available in the Jira "Affects Version/s" field.
Attachments
Attachments
Issue Links
- is cloned by
-
JCRVLT-100 FileVault requires access to root node
- Closed