From bfcce8cb3c2aaf23f821438412ebf10fff8cbae2 Mon Sep 17 00:00:00 2001
From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu>
Date: Tue, 2 Mar 2021 23:05:05 -0600
Subject: [PATCH] Try to set restrictive permissions for cache

---
 .gitlab-ci.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5a8c455..98d58d9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,7 +15,7 @@ variables:
   refMoVersion: "38.p6.vM25"
   refHuVersion: "38.p13.v36"
   refERCCVersion: "92"
-  dir: "/project/BICF/BICF_Core/shared/gudmap/singularity_cache/"
+  dir: "/project/BICF/BICF_Core/shared/gudmap/singularity_cache/cache"
 
 stages:
   - singularity
@@ -34,7 +34,6 @@ img_cache:
   script:
     - 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