gpg and PHP (return value 2)[Scanned]
pete at gingermonkey.co.uk
Wed Nov 9 23:11:38 CET 2005
> I have frequently heard of file permissions on the key-ring
> as a source of trouble in the setting you describe. PHP is
> probably running a nobody or Apache or something equally
> restrictive, with good reason. For other good reasons the
> key-rings usually have read and write permissions for only the user.
Many thanks Samuel. Have just spent a merry half hour moving the
keyrings about and changing ownership/groups and folder permissions, and
it now all works perfectly.
More information about the Gnupg-users