Commit 825c5208 authored by Robert Cohn's avatar Robert Cohn

limit fix permissions to /opt/conda

parent 3deefc7d
...@@ -59,7 +59,7 @@ RUN echo "auth requisite pam_deny.so" >> /etc/pam.d/su && \ ...@@ -59,7 +59,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