identity.sh: chmod files adequately

This commit is contained in:
dogeystamp 2023-08-03 18:58:30 -04:00
parent f62f4e10cb
commit 8e2de8afe2
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -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