Skip to content

Commit

Permalink
Remove unneeded chown as init no longer runs as root (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
nuwang authored Feb 12, 2022
1 parent e2f1b29 commit 87bb4e1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion galaxy/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 -}}

{{/*
Expand Down

0 comments on commit 87bb4e1

Please sign in to comment.