Package: gnupg
Version: 1.4.1-1
Severity: normal

frodo$ tail -n2 .gnupg/gpg.conf 
keyring /usr/share/keyrings/debian-keyring.gpg
keyring /usr/share/keyrings/debian-keyring.pgp

frodo$ gpg --sign-key F2B1606C

8< SNIP!

Really sign? (y/N) y

8< SNIP!
                  
gpg: update failed: file write error

Strace reveals:

unlink("/home/hendry/.gnupg/secring.gpg.lock") = 0
access("/usr/share/keyrings/debian-keyring.pgp", W_OK) =
 -1 EACCES (Permission denied)
access("/usr/share/keyrings/debian-keyring.gpg", W_OK) =
 -1 EACCES (Permission denied)
access("/home/hendry/.gnupg/pubring.gpg", W_OK) = 0
access("/home/hendry/.gnupg/secring.gpg", W_OK) = 0
access("/usr/share/keyrings/debian-keyring.pgp", W_OK) =
 -1 EACCES (Permission denied)
access("/usr/share/keyrings/debian-keyring.gpg", W_OK) =
 -1 EACCES (Permission denied)
access("/home/hendry/.gnupg/pubring.gpg", W_OK) = 0
access("/home/hendry/.gnupg/secring.gpg", W_OK) = 0

I even tried gpg --recv-keys F2B1606C and signing and that didn't work.  I
worked around the problem by uncommenting the debian keyring lines in the
gpg.conf.

I expected the key I was signing from the Debian keyring to be incorporated in
my gpg db without write issues.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)

Versions of packages gnupg depends on:
ii  libbz2-1.0                  1.0.2-7      high-quality block-sorting file co
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libldap2                    2.1.30-11    OpenLDAP libraries
ii  libreadline5                5.0-10       GNU readline and history libraries
ii  libusb-0.1-4                2:0.1.10a-17 userspace USB programming library
ii  makedev                     2.3.1-78     creates device files in /dev
ii  zlib1g                      1:1.2.2-9    compression library - runtime

gnupg recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to