这里假定我们的 GPG 文件夹位置为 ~/.gnupg
,只需运行以下几条命令即可解决 "gpg WARNING unsafe permissions on homedir" 告警信息:
chown -R $(whoami) ~/.gnupg
chmod 700 ~/.gnupg
chmod 600 ~/.gnupg/*
chmod 700 ~/.gnupg/*.d
标签:homedir,gpg,unsafe,chmod,WARNING,gnupg From: https://www.cnblogs.com/astrofeyx/p/resolve-gpg-warning-unsafe-permissions-on-homedir.html