From ecd9e10838cc23c187ecd27f219a7e65d1f8812d Mon Sep 17 00:00:00 2001 From: awy Date: Sun, 24 Nov 2024 21:27:07 +0300 Subject: gpg correct permissions --- rice.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rice.sh b/rice.sh index d00ff45..1dfdff8 100755 --- a/rice.sh +++ b/rice.sh @@ -63,6 +63,9 @@ default-cache-ttl 34560000 max-cache-ttl 34560000 EOL +doas -u $PERMUSER find /home/$PERMUSER/.gnupg -type f -exec chmod 600 {} \; +doas -u $PERMUSER find /home/$PERMUSER/.gnupg -type d -exec chmod 700 {} \; + chsh -s /bin/zsh $PERMUSER mkdir -p /root/.config/nvim -- cgit v1.2.3