From 8e2de8afe26eb9f40bc3c6a6461cb65a9ed37bc2 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Thu, 3 Aug 2023 18:58:30 -0400 Subject: [PATCH] identity.sh: chmod files adequately --- src/.local/bin/identity.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/.local/bin/identity.sh b/src/.local/bin/identity.sh index ca27a1f..6dc1aad 100755 --- a/src/.local/bin/identity.sh +++ b/src/.local/bin/identity.sh @@ -19,5 +19,7 @@ # this script takes these secret files and deploys them to the system # you need to have keepassxc running to use it -secret-tool lookup Title "conf-aerc-accounts" > .config/aerc/accounts.conf -secret-tool lookup Title "conf-identity" > .config/identity +secret-tool lookup Title "conf-aerc-accounts" > ~/.config/aerc/accounts.conf +chmod 600 ~/.config/aerc/accounts.conf +secret-tool lookup Title "conf-identity" > ~/.config/identity +chmod 600 ~/.config/identity