Skip to content

Commit

Permalink
chore: Configure permissions for /etc/pki directory (#147)
Browse files Browse the repository at this point in the history
Signed-off-by: Anatolii Bazko <[email protected]>
  • Loading branch information
tolusha authored Jan 31, 2024
1 parent 9a4668a commit 7ab998f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions universal/ubi8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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='*'
Expand Down

0 comments on commit 7ab998f

Please sign in to comment.