From 44a2e172ede0ee71f49b50e0bbf5e2b8003f168b Mon Sep 17 00:00:00 2001
From: Fijxu <fijxu@nadeko.net>
Date: Thu, 14 Mar 2024 20:32:16 -0300
Subject: [PATCH] fix: Use chmod inside the CCACHE directory

If we need to replace the docker image for any reason, the user will
(probably) be different. This ensures that the CCACHE directory can be
read and writen by any user of the docker image being used in the CI.
---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e96bf21c29..958e07bf6c 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
-- 
GitLab