Can't generate new keys

Todd Zullinger tmz at pobox.com
Mon Jun 4 03:00:35 CEST 2007


rocko wrote:
> Your right it seems my permissions are wrong:
> acidblue at starshatter:~$ ls -la .gnupg/
> total 40
> drwx------  2 acidblue acidblue 4096 2007-06-03 15:42 .
> drwxr-xr-x 72 acidblue acidblue 4096 2007-06-03 17:59 ..
> -rw-------  1 acidblue acidblue   28 2007-05-19 11:47 gpg.conf
> -rw-------  1 root     root     4203 2007-05-19 11:54 pubring.gpg
> -rw-------  1 root     root     4203 2007-05-19 11:54 pubring.gpg~
> -rw-------  1 acidblue acidblue  600 2007-06-03 15:36 random_seed
> -rw-------  1 root     root     1313 2007-05-19 11:54 secring.gpg
> -rw-------  1 root     root     1280 2007-05-19 11:54 trustdb.gpg
> 
> How do i change this?
> Can i simply 'sudo chmod' the files 
> or do i have to reinstall gpg?

chown is what you want.  Something like this should do the trick:

$ sudo chown -R acidblue. ~/.gnupg

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If the world didn't suck, we'd all fall off.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
Url : /pipermail/attachments/20070603/83dafe82/attachment-0001.pgp 


More information about the Gnupg-users mailing list