From 0936ed657c7e47501a2788d58ec82a17239b8ff3 Mon Sep 17 00:00:00 2001 From: Tianhao-Gu Date: Thu, 12 Sep 2024 13:23:34 -0500 Subject: [PATCH] noticed a permission error in Rancher --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4b29119..d03c12c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -100,7 +100,7 @@ RUN chown -R spark_user:spark $CDM_SHARED_DIR # Set a directory for hosting Jupyterhub db and cookie secret ENV JUPYTERHUB_SECRETS_DIR=/jupyterhub_secrets -RUN mkdir -p ${JUPYTERHUB_SECRETS_DIR} +RUN mkdir -p ${JUPYTERHUB_SECRETS_DIR} && chmod -R 777 ${JUPYTERHUB_SECRETS_DIR} RUN chown -R spark_user:spark ${JUPYTERHUB_SECRETS_DIR} # Allow spark_user to use sudo without a password