From 006bdaee169969196dd8020a266d91163883ccf1 Mon Sep 17 00:00:00 2001 From: askiiart Date: Sat, 19 Aug 2023 17:06:40 -0500 Subject: [PATCH] Add permissions fix --- daily-use-pcs/fedora/setup-git.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/daily-use-pcs/fedora/setup-git.sh b/daily-use-pcs/fedora/setup-git.sh index a1aa051..3e5eb18 100644 --- a/daily-use-pcs/fedora/setup-git.sh +++ b/daily-use-pcs/fedora/setup-git.sh @@ -43,4 +43,10 @@ echo This is the SSH public key, copy it and put it in Gitea/GitHub/whatever echo Gitea URL: https://git.askiiart.net/user/settings/keys echo GitHub URL: https://github.com/settings/ssh/new +echo Fixing permissions, removing temp files... +sudo chown -R $(whoami) /home/$(whoami)/.gnupg +sudo chgrp -R $(whoami) /home/$(whoami)/.gnupg +sudo chmod -R 700 /home/$(whoami)/.gnupg +rm dotnet-install.sh + read -p "Done. Now verify your SSH and GPG keys in Git*" < /dev/tty \ No newline at end of file