diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 58aed2bd02a5421ed13727783be16149596111bf..d7cc5bc9675ba2592b2e9e33d7e95b1eead16483 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,6 +11,7 @@ test:
     - private
   script:
     - make test
+    - sudo /bin/chown -R gitlab-runner target
   artifacts:
     reports:
       junit: