Skip to content

Commit 2e69610

Browse files
committed
Make local world-writable
1 parent 9996e01 commit 2e69610

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,5 +454,8 @@ RUN update-ca-certificates
454454
# copy environment initialization script into container
455455
# and make sure the default profile will call it as well
456456
ENV CMAKE_PREFIX_PATH=/usr/local
457+
# denv runs as the host user (non-root), so /usr/local must be world-writable
458+
# for ldmx-sw to install its libraries there
459+
RUN chmod -R a+rwX /usr/local
457460
COPY ./ldmx-env-init.sh /etc/
458461
RUN printf "\n%s\n" ". /etc/ldmx-env-init.sh" >> /etc/skel/.profile

0 commit comments

Comments
 (0)