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.

Revisions

  1. synthetic-intelligence created this gist Aug 4, 2021.
    6 changes: 6 additions & 0 deletions bash scriptable
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    # 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/*