Can't import keys -- link() failed
Thu Apr 26 19:23:01 2001
Yes, I am running on linux. Unfortunately, I'm running gpg 1.0.1, and it
doesn't seem to understand the --lock-never option, so I'm going to try
moving my public key ring onto hard disk.
I realize that there was no need to keep my public ring on a floppy, it
was just simpler to keep all my keys in the same place.
Thanks for the help, I'll see about upgrading my gpg version as well.
On Thu, 26 Apr 2001, Miroslav Koncar wrote:
> I was following this discussion, which I'm very interested in. I guess,
> I was also trying to do a similar thing as Sam, to use floppies as some
> kind of smart cards for the users' keys (public and private). To be
> perfectly clear, I'm programming a simple user interface for
> encryption/decryption using GPGME APIs, and all of my keys are on floppy
> disk. I was testing this on different platforms, and came to this
> conclusion so far:
> - on Solaris, you just need to set up the GNUPGHOME variable to point to
> the floppy, and there's no need for the option that Werner said.
> - on Linux (which I'm pretty sure Sam is working on), that's not
> possible, for the reason Werner pointed out. I didn't know about the
> --lock-never option, I'll try that later on.
> - on Windows... no idea, and therefor I'm getting involved here. I'm
> trying to set the GNUPGHOME to point at the floppy (a:), but it's
> ignoring me, and always goes to the c:\gnupg. I've tried to set the
> variable in different ways, and no success. So, how can I set up my
> enviroment on Windows to change the default keyrings directory?
> Werner Koch wrote:
> > On Wed, 25 Apr 2001, Sam Sanjabi wrote:
> > > gpg: lock not made: link() failed: Operation not permitted
> > > gpg: fatal: can't lock `/mnt/floppy/.gnupg/pubring.gpg'
> > The filesystem on the floppy does not support hard links which are
> > needed for creating locks.
> > Workaround: Use option --lock-never and make sure that no other
> > instances of GnuPG is running.
> > BTW, There is no need to keep the pubring on a floppy, use something
> > like:
> > --secret-keyring /floppy/secring.gpg
> > to keep just the secret keys on a floppy.
> > Werner
> > --
> > Werner Koch Omnis enim res, quae dando non deficit, dum habetur
> > g10 Code GmbH et non datur, nondum habetur, quomodo habenda est.
> > Privacy Solutions -- Augustinus
> > _______________________________________________
> > Gnupg-users mailing list
> > Gnupgfirstname.lastname@example.org
> > http://lists.gnupg.org/mailman/listinfo/gnupg-users