From 5f73a1d0ede1f95ab86e14e3f2903016dd59c8b4 Mon Sep 17 00:00:00 2001 From: samuel Date: Wed, 3 May 2023 14:55:11 +0200 Subject: [PATCH] [Fix] Set permission for deployer to access to runner home dir --- netoik-cicd.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/netoik-cicd.spec b/netoik-cicd.spec index e3f871b..26ee179 100644 --- a/netoik-cicd.spec +++ b/netoik-cicd.spec @@ -40,6 +40,7 @@ if ! id %{name}-runner; then --groups %{name}-git-runner,%{name}-runner-deployer \ --gid %{name}-runner-deployer \ %{name}-runner + chmod 710 /home/%{name}-runner runuser --login %{name}-runner runuser --user %{name}-runner -- git config \ --global user.email %{name}-runner@netoik.io