From 9aa7927c8f8a756197ece23d7a9975a4c0463bcb Mon Sep 17 00:00:00 2001 From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu> Date: Tue, 2 Mar 2021 23:03:50 -0600 Subject: [PATCH] Set permissions for cached dir --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 56db565..5a8c455 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,8 +32,9 @@ stages: img_cache: stage: singularity script: - - export -p | grep SINGULARITY_CACHEDIR + - chmod 0700 ${dir} - cat nextflow.config | grep -oP "container = \K.*" | tr -d "'" | sort | uniq | xargs -P 10 -I {} singularity pull --dir ${dir} 'docker://'{} || true + - chmod 775 ${dir} - chmod 775 ${dir}*.sif collect: -- GitLab