aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorawy <awy@awy.one>2024-11-24 21:27:07 +0300
committerawy <awy@awy.one>2024-11-24 21:27:07 +0300
commitecd9e10838cc23c187ecd27f219a7e65d1f8812d (patch)
treeb3021325be1fded721c3a71694756e676a634e0f
parent23a4315ec097dbd4acc491d5a271e13d7619bea4 (diff)
gpg correct permissions
-rwxr-xr-xrice.sh3
1 files changed, 3 insertions, 0 deletions
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