diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e96bf21c29494249da147b45bc80031a5d0fa8af..958e07bf6ce14bd31f558dd46943bd4fab4822ec 100755
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -37,6 +37,7 @@ build-linux:
       - $CACHE_DIR
   before_script:
     - mkdir -p $CACHE_DIR
+    - chmod -R 777 $CACHE_DIR
     - ls -la $CACHE_DIR
   variables:
     GIT_SUBMODULE_STRATEGY: recursive