From 436ebd605a5882f636886770aea69321b49ac30b Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Wed, 26 Oct 2022 00:39:39 +0200 Subject: [PATCH] [F] Fix .gnupg owner --- arch-graphical-install-auto.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/arch-graphical-install-auto.sh b/arch-graphical-install-auto.sh index ac5c275..9576bd7 100755 --- a/arch-graphical-install-auto.sh +++ b/arch-graphical-install-auto.sh @@ -176,6 +176,7 @@ function userrechte() { #gnupg mkdir -p /home/"$user"/.gnupg chmod -R 700 /home/"$user"/.gnupg + chown -cRv "$user":users /home/${user}/.gnupg if [ -f /home/${user}/.gnupg/* ]; then chmod -v 600 /home/${user}/.gnupg/* fi