Fix permissions bug in GPG