Skip to content

Instantly share code, notes, and snippets.

@synthetic-intelligence
Created August 4, 2021 13:21
Show Gist options
  • Save synthetic-intelligence/228343f249bb1594483325bf540200d2 to your computer and use it in GitHub Desktop.
Save synthetic-intelligence/228343f249bb1594483325bf540200d2 to your computer and use it in GitHub Desktop.
gpg file permissions on macos
# 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