diff --git a/universal/ubi8/Dockerfile b/universal/ubi8/Dockerfile index 22fd6770..17262b45 100644 --- a/universal/ubi8/Dockerfile +++ b/universal/ubi8/Dockerfile @@ -457,8 +457,8 @@ RUN echo '[[ -s "$SDKMAN_DIR/bin/sdkman-init.sh" ]] && source "$SDKMAN_DIR/bin/s # Create symbolic links from /home/tooling/ -> /home/user/ RUN stow . -t /home/user/ -d /home/tooling/ --no-folding -# Set permissions on /etc/passwd and /home to allow arbitrary users to write -RUN chgrp -R 0 /home && chmod -R g=u /etc/passwd /etc/group /home +# Set permissions on /etc/passwd, /etc/group, /etc/pki and /home to allow arbitrary users to write +RUN chgrp -R 0 /home && chmod -R g=u /etc/passwd /etc/group /home /etc/pki # cleanup dnf cache RUN dnf -y clean all --enablerepo='*'