[CentOS] gpg command works fine from login shell, not from cron script
spiro at knossos.net.nz
Mon Oct 19 19:41:05 UTC 2009
Sean Carolan <scarolan at gmail.com> wrote:
> Why does it say "secret key not available"? The output of gpg -K
> shows that the key is in fact available, and this is further confirmed
> when I run the script manually and the files are decrypted just fine.
Is the cron job running as a different user? eg; are you running gpg as
a non-privileged user and the cronjob as root?
Spiro Harvey Knossos Networks Ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: not available
More information about the CentOS