备份失败,处理远程清单时出错

备份失败,处理远程清单时出错

我收到以下错误:

Error processing remote manifest (duplicity-inc.20181001T155227Z.to.20181004T170535Z.manifest.gpg): GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '/home/master/.gnupg/secring.gpg' to gpg-agent
gpg: can't open '/home/master/.gnupg/secring.gpg': Permission denied
gpg: AES encrypted data
gpg: encrypted with 1 passphrase
===== End GnuPG log =====

我该如何修复此问题?

答案1

我按照这个答案,现在一切都正常了。我想对我来说最关键的部分是

chown -R $(whoami) ~/.gnupg/

;在这些更改之前,所有权secring.gpg被设置为root

相关内容