Skip to content

Commit

Permalink
Update permissions for grid certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
oshadura committed Apr 18, 2024
1 parent 1f242c7 commit 636ac2f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/Dockerfile.cc-analysis-alma8
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ARG CERT_DIR="/etc/cmsaf-secrets"
# Hack for GH Actions
ARG GITHUB_ACTIONS="false"
# FIX ME AFTER TEST:
#ARG BEARER_TOKEN_FILE="/tmp/.xcache/access_token"
ARG BEARER_TOKEN_FILE="/tmp/.xcache/access_token"
ARG SEC_TOKEN_SYSTEM_DIRECTORY="/tmp/.condor"
ARG XCACHE_HOST="xcache"
Expand Down Expand Up @@ -47,6 +48,7 @@ RUN yum -y update \
ca-certificates \
sudo \
langpacks-en \
glibc-langpack-en \
glibc-all-langpacks \
liberation-fonts \
wget \
Expand Down Expand Up @@ -79,7 +81,8 @@ RUN chmod a+rx /usr/local/bin/fix-permissions

RUN rm -rf /etc/grid-security && \
ln -s /usr/local/etc/grid-security /etc/grid-security && \
chmod 755 /etc/grid-security/certificates
chmod 755 /etc/grid-security/certificates && \
chmod g-w /etc/grid-security/certificates

# Enable prompt color in the skeleton .bashrc before creating the default NB_USER
# hadolint ignore=SC2016
Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile.cc-dask-alma8
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ RUN yum -y update \
ca-certificates \
sudo \
langpacks-en \
glibc-langpack-en \
glibc-all-langpacks \
liberation-fonts \
wget \
Expand Down

0 comments on commit 636ac2f

Please sign in to comment.