Skip to content

AM 7.3.0 fbc-init init-container permissiones denied #699

@colbyx20

Description

@colbyx20

Currently using 7.3.0 and noticed on my build step for AM I was receiving permissions denied when this line in Dockerfile

RUN mkdir -p /home/forgerock/logging/

The fix was stating -> USER root in dockerfile before this line.
At the end of my Dockerfile I'm switching back to USER 11111

After I build my new image successfully upon deploying to AM the fbc-init container received this error.

/bin/bash: line 14: cd: /home/forgerock/openam: Permission denied
cp: cannot stat '.homeVersion': Permission denied
cp: cannot stat '*': Permission denied

Nothing on the deployment.yaml file was modified in terms of the securityContext to run as user 11111.

So far I've never received this issue till now. Using Docker Version 28.1.1 and this is in AWS EKS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions