QuestionQ42

VerifiedSecurity, Access, and Permissions

A DevOps engineer successfully deploys source code locally to the AEM SDK. Afterwards, a Cloud Manager deployment is started through Cloud Manager, and the DevOps engineer observes runtime errors in the pipeline logs.

The pipeline-log analysis reveals the following information:

  • An exception occurred in the SlingRepositoryInitializer.
  • SlingRepository service registration was aborted because of a RunTimeException.
  • Failed to set ACL (UnsupportedOperationException): This builder is read only.
  • AclLine ALLOW \{paths=[/libs/dam/content], privileges=[jcr:read]\} at org.apache.sling.jcr.repoinit.impl.AclVisitor.setAcl.

What is the cause of this issue?

Explanation

/libs/dam/content is beneath /libs, an immutable, read-only repository area in AEM as a Cloud Service. A repoinit script cannot set or modify an ACL there at runtime, so the ACL operation fails with a read-only builder exception.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!