Commit 5438a605 authored by Peter Parente's avatar Peter Parente Committed by GitHub

Merge pull request #1020 from rscohn2/fix-fix-permissions

limit fix permissions to /opt/conda
parents 678ada76 25524ee2
...@@ -60,7 +60,7 @@ RUN echo "auth requisite pam_deny.so" >> /etc/pam.d/su && \ ...@@ -60,7 +60,7 @@ RUN echo "auth requisite pam_deny.so" >> /etc/pam.d/su && \
chown $NB_USER:$NB_GID $CONDA_DIR && \ chown $NB_USER:$NB_GID $CONDA_DIR && \
chmod g+w /etc/passwd && \ chmod g+w /etc/passwd && \
fix-permissions $HOME && \ fix-permissions $HOME && \
fix-permissions "$(dirname $CONDA_DIR)" fix-permissions $CONDA_DIR
USER $NB_UID USER $NB_UID
WORKDIR $HOME WORKDIR $HOME
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment