From 87bb4e1f812e89401ad42438d4667db68314151f Mon Sep 17 00:00:00 2001 From: Nuwan Goonasekera <2070605+nuwang@users.noreply.github.com> Date: Sun, 13 Feb 2022 01:38:20 +0530 Subject: [PATCH] Remove unneeded chown as init no longer runs as root (#351) --- galaxy/templates/_helpers.tpl | 1 - 1 file changed, 1 deletion(-) diff --git a/galaxy/templates/_helpers.tpl b/galaxy/templates/_helpers.tpl index e7e1b5da..b6ea3cfe 100644 --- a/galaxy/templates/_helpers.tpl +++ b/galaxy/templates/_helpers.tpl @@ -152,7 +152,6 @@ cp -anL /galaxy/server/config/tool_data_table_conf.xml.sample /galaxy/server/con cp -aruL /galaxy/server/tool-data {{.Values.persistence.mountPath}}/; cp -aruL /galaxy/server/tools {{.Values.persistence.mountPath}}/tools | true; echo "Done" > /galaxy/server/config/mutable/init_mounts_done_{{.Release.Revision}}; -. /galaxy/server/.venv/bin/activate && python -c "import os; [([os.chown(os.path.join(root, each), 101, 101) for each in dirs], [os.chown(os.path.join(root, each), 101, 101) for each in files]) for root, dirs, files in os.walk(\"{{.Values.persistence.mountPath}}\")];" {{- end -}} {{/*