From 0f59f60e7c514e13a2d7bcd793fe121e1edb453c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20unbrot=20P=C3=A4tzold?= Date: Sat, 25 Apr 2026 13:45:00 +0200 Subject: [PATCH] Make install dir a git safe directory --- system_setup/logon_script.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/system_setup/logon_script.sh b/system_setup/logon_script.sh index 97c2b1a..3dad6b2 100755 --- a/system_setup/logon_script.sh +++ b/system_setup/logon_script.sh @@ -53,6 +53,9 @@ elog_add "Successfully obtained Token for User ${DAVTOKEN_USER}" elog_add "" elog_add "Update and install client software" +#Set global to enable git +git config --global --add safe.directory /opt/sys_config + # First, check the sudo rule elog_add "Check the matching client rule:" #Somewhat strange "sudo -l" will *sometimes* ask for password instead of just checking if the rule can be found, so it needs -n to be silent