-
-
Save xshapira/8757c6bc0af32a9972222ca37e23cb11 to your computer and use it in GitHub Desktop.
gpg: WARNING: unsafe permissions on homedir '~/.gnupg'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make sure that the .gnupg directory and its contents is accessibile by your user. | |
chown -R $(whoami) ~/.gnupg/ | |
# If not, run this: | |
sudo chown -R $USER ~/.gnupg | |
# Then give the right permissions: | |
sudo chmod 700 ~/.gnupg | |
sudo chmod 600 ~/.gnupg/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment