Preventing temporary files?

David Shaw dshaw at
Thu Mar 10 03:04:42 CET 2005

On Thu, Mar 10, 2005 at 03:22:14AM +0200, Ilkka Huotari wrote:
> I have the PHP side working. The thing that I have problems with is this:
> gpg: failed to create temporary file
> `bin/gpg/.#lk0x80eb83c.nd2.2253': Permissio n denied

That's a lock file.  It is needed to prevent more than one instance of
GnuPG from modifying keyrings (which would naturally corrupt them).
If you can guarantee this exclusion outside of GnuPG, then see the
--lock-never option in the manual.


More information about the Gnupg-users mailing list