From cf086039131e326d44f5b3ca551dbeb803bd98b8 Mon Sep 17 00:00:00 2001 From: Erik Vattekar Date: Mon, 30 Oct 2023 20:14:19 +0100 Subject: [PATCH] correct rights for bucket read dir --- dataverk_airflow/bucket_read.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dataverk_airflow/bucket_read.py b/dataverk_airflow/bucket_read.py index 728cb79..e1a6f97 100644 --- a/dataverk_airflow/bucket_read.py +++ b/dataverk_airflow/bucket_read.py @@ -18,7 +18,7 @@ def bucket_read( ], command=["/bin/sh", "-c"], args=[ - f"gsutil cp -r gs://{os.environ['GCS_BUCKET']}/* {mount_path}/ && chmod -R 754 {mount_path}" + f"gsutil cp -r gs://{os.environ['GCS_BUCKET']}/* {mount_path}/ && chmod -R 764 {mount_path}" ], resources=k8s.V1ResourceRequirements( requests={"memory": "128Mi"},