From 47c7a0216fcac24ac80a707e458a6ad1ae437766 Mon Sep 17 00:00:00 2001 From: Marco Donadoni Date: Tue, 12 Nov 2024 17:51:05 +0100 Subject: [PATCH] fix(reana-dev): allow `root` group to write to shared storage (#843) --- reana/reana_dev/cluster.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reana/reana_dev/cluster.py b/reana/reana_dev/cluster.py index a38af7f6..fb626c88 100644 --- a/reana/reana_dev/cluster.py +++ b/reana/reana_dev/cluster.py @@ -185,6 +185,10 @@ def add_volume_mounts(node): cluster_config=yaml.dump(cluster_config), ) run_command(cluster_create, "reana") + run_command( + "docker exec kind-control-plane sh -c 'mkdir -p /var/reana && chmod g+rwx /var/reana'", + "reana", + ) # pull Docker images if mode in ("releasepypi", "latest", "debug"):