Searchable Archives

Dick Gevers dvgevers at xs4all.nl
Fri Jan 2 03:14:53 CET 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 2 Jan 2004 12:44:07 +1100 (EST), Howard Lowndes
<lannet at lannet.com.au> wrote about Searchable Archives:

>I keep getting the following error in /var/log/httpd/error_log:
>
>gpg: fatal: /root/.gnupg: can't create directory: Permission denied
>secmem usage: 0/0 bytes in 0/0 blocks of pool 0/16384
>
>even though Apache is not running as root and /usr/bin/gpg is not setuid
>
>The PHP script element is:

>$cmd expands to:
>
>gpg --options /var/www/.gnupg/options --keyring /var/www/.gnupg/pubring.gpg
>--armor --encrypt --recipient mechu


I think you should try replacing: --keyring /var/www/.gnupg/pubring.gpg, by:
- --homedir /var/www/.gnupg

Regards,
=Dick Gevers=
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Encryption is an envelope - the contents are private.

iD8DBQE/9OIrwC/zk+cxEdMRArGEAKDCmjV2UooFrlSdjagnVh//tIZMxgCgyzk6
20FZUbc/hjrSL54Gxobj/Pw=
=t/A/
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list