Skip to content

Instantly share code, notes, and snippets.

@miguelmota
Created March 3, 2025 23:03
Show Gist options
  • Save miguelmota/6337b39ca3532a25547a7b178b011278 to your computer and use it in GitHub Desktop.
Save miguelmota/6337b39ca3532a25547a7b178b011278 to your computer and use it in GitHub Desktop.
Linux secure pgp gpg gnupg file permissions
chown -R "$USER":"$USER" ~/.gnupg
chmod 700 ~/.gnupg
find ~/.gnupg -type f -exec chmod 600 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment