Secure Key Generation Tutorial by TJL73 question and Linux

Allen Schultz allen.schultz at gmail.com
Tue Apr 28 17:26:39 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I was following TJL73's tutorial on secure key generation with the below
link and was having problems with updating a subkey from the
primary-secret key in another directory.

http://tjl73.altervista.org/secure_keygen/en/index.html

$ gpg --homedir backup1 --keyring pubring.gpg --secret-keyring
secring.gpg -trustdb-name trustdb.gpg --list-secret-keys
gpg: WARNING: unsafe permissions on homedir `backup1'

I did a ls -al and found backup to have 744 access. I set it to 644
access and got the following.

gpg: WARNING: unsafe permissions on homedir `backup1'
gpg: failed to create temporary file
`backup1/.#lk0x811a5c8.pubuntu.3675': Permission denied
gpg: keyblock resource `backup1/secring.gpg': general error
gpg: failed to create temporary file
`backup1/.#lk0x811a5c8.pubuntu.3675': Permission denied
gpg: keyblock resource `backup1/secring.gpg': general error
gpg: failed to create temporary file
`backup1/.#lk0x811a5c8.pubuntu.3675': Permission denied
gpg: keyblock resource `backup1/pubring.gpg': general error
gpg: failed to create temporary file
`backup1/.#lk0x811a5c8.pubuntu.3675': Permission denied
gpg: keyblock resource `backup1/pubring.gpg': general error

Apparently I dont have the permissions right on the directory. Now with
644 I cannot access the directory. For the ring files in the directory
and the directory itself, what is gpg looking for in permissions? Should
I ask this in my LUG?

Allen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkn3IC8ACgkQV5r3Eu55xjbl+gCfZnYZm0RJDHlFDfaJrJ7vXrf4
gj8Ani9v6/liPeXANIbO9IGR+LDeFG1T
=OU7m
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list