Skip to content

Commit

Permalink
Give the Zeppelin interpreter more rights for folders
Browse files Browse the repository at this point in the history
  • Loading branch information
Reamer committed Aug 17, 2020
1 parent 175566c commit 300fc0c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/docker/zeppelin-interpreter/Dockerfile
Expand Up @@ -73,8 +73,11 @@ RUN set -ex && \
# chmod -R ug+rwX /opt/conda
ENV PATH /opt/conda/bin:$PATH

# Allow process to edit /etc/passwd, to create a user entry for zeppelin
RUN chgrp root /etc/passwd && chmod ug+rw /etc/passwd
RUN mkdir -p "${Z_HOME}/logs" "${Z_HOME}/run" "${Z_HOME}/local-repo" && \
# Allow process to edit /etc/passwd, to create a user entry for zeppelin
chgrp root /etc/passwd && chmod ug+rw /etc/passwd && \
# Give access to some specific folders
chmod -R 775 "${Z_HOME}/logs" "${Z_HOME}/run" "${Z_HOME}/local-repo"

USER 1000
WORKDIR ${Z_HOME}

0 comments on commit 300fc0c

Please sign in to comment.