GnuPG 1.2.2 and permission denied on trustdb.gpg
Thu May 29 11:06:03 2003
I just installed GnuPG 1.2.2 on a Solaris 2.7 system and have one minor problem. It won't work unless we make the trustdb.gpg world writable. The script that calls gpg is a non-root setuid program whose user also owns the trustdb.gpg. That user is the only user that works unless we change the trustdb.gpg to world writable (which we do not want to do).
I tried the workaround posted on the user forum which states that you can use the
options --no-auto-check-trustdb and --lock-never to get by the permission denied issue but
we are still failing on permissions (see error messages below).
Thanks so much,
Here are our error messages:
Cmd=/prod/gnuc/bin/gpg --homedir /home/dcprod/.gnupg --no-auto-check-trustdb --lock-never -r ftidc -o /home/dcprod/tempdir/U45554/TEMP.COMPRESS.0.45554.GPG -e
/home/faulkner/data/test.file > /home/dcprod/tempdir/gpg.err 2>&1
after: ruid=153 euid=452
/home/dcprod/tempdir/U45554/TEMP.COMPRESS.0.45554.GPG: No such file or director
030527 15:28:00 DCSEND 45554 RC=3060
GPG encryption / signing failed
gpg: WARNING: unsafe ownership on homedir "/home/dcprod/.gnupg"
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information