File locking
Werner Koch
wk at gnupg.org
Wed Dec 11 16:19:01 CET 2002
On Fri, 27 Sep 2002 22:56:49 +0000, Brian M Carlson said:
> bmc at stonewall:~$ gpg --no-default-keyring --secret-keyring /dev/null --keyring foo.gpg --import pgpmsg.asc
> gpg: failed to create temporary file `/dev/.#lk0x80ddfb8.stonewall.21773': Permission denied
> gpg: can't allocate lock for `/dev/null'
> gnupg refuses to import because it tries to lock /dev/null. /dev/null
Using a character device for --secret-keyring is simply not an
option. The file most be seekable and you need premission to
write etc.
> NB: This is Debian Bug #48077, which has been open for 2 years and 342
Please ask James to close it. It should be posssible to achieve the
intended fucntion by using --no-default-keyring along with --keyring=foo
Salam-Shalom,
Werner
More information about the Gnupg-devel
mailing list