From a7cc7accf23aede5aa9fa827bcf037b87e520405 Mon Sep 17 00:00:00 2001 From: Muhammad A <56032207+muali14@users.noreply.github.com> Date: Thu, 9 Feb 2023 14:30:00 -0500 Subject: [PATCH] fixed a bug with file access permissions (#88) --- charts/jupyter-notebook/Chart.yaml | 2 +- charts/jupyter-notebook/templates/configmap.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/jupyter-notebook/Chart.yaml b/charts/jupyter-notebook/Chart.yaml index 4d16113..e6f5f2e 100644 --- a/charts/jupyter-notebook/Chart.yaml +++ b/charts/jupyter-notebook/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: "v2" name: "jupyter-notebook" -version: 0.4.17 +version: 0.4.18 appVersion: 2.1.3 description: "A Jupyter Notebook with a condor-submit setup" type: application diff --git a/charts/jupyter-notebook/templates/configmap.yaml b/charts/jupyter-notebook/templates/configmap.yaml index 3f6e948..c9c5f25 100644 --- a/charts/jupyter-notebook/templates/configmap.yaml +++ b/charts/jupyter-notebook/templates/configmap.yaml @@ -14,7 +14,8 @@ data: # get the condor token where it needs to be, with the right ownership cp -a /root/tokens/* /etc/condor/tokens.d/ chown -R condor: /etc/condor/tokens.d - chmod 400 /etc/condor/tokens.d/* + chmod 440 /etc/condor/tokens.d/* + chown :users /etc/condor/tokens.d/condor_token condor_token_list # users won't be able to run `unminimize` anyway