Created
August 4, 2021 13:21
-
-
Save synthetic-intelligence/228343f249bb1594483325bf540200d2 to your computer and use it in GitHub Desktop.
gpg file permissions on macos
This file contains hidden or 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
# Set ownership to your own user and primary group | |
chown -R "$USER:$(id -gn)" ~/.gnupg | |
# Set permissions to read, write, execute for only yourself, no others | |
chmod 700 ~/.gnupg | |
# Set permissions to read, write for only yourself, no others | |
chmod 600 ~/.gnupg/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment