Bug 191685 - gnupg doesn't create automatically ~/.gnupg
gnupg doesn't create automatically ~/.gnupg
Status: CLOSED DUPLICATE of bug 142206
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: gnupg (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Nalin Dahyabhai
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2006-05-15 02:59 EDT by Marius Andreiana
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-05-15 05:27:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Marius Andreiana 2006-05-15 02:59:32 EDT
With a new user run gpg --gen-key

Key generation ends with error:
gpg: no writable public keyring found: eof
Key generation failed: eof
gpg: can't create `/home/user/.gnupg/random_seed': No such file or directory

Solution: manually create the ~/.gnupg folder first.

Please create it automatically when not found(and set the permissions go-rwx).
This should work with whatever is the home used for gpg, it might be another if
passed with --homedir

Comment 1 Nalin Dahyabhai 2006-05-15 05:27:54 EDT
This should be fixed in the recently-released erratum.  If you find that this is
not the case, please reopen this bug.  Thanks!

*** This bug has been marked as a duplicate of 142206 ***

Note You need to log in before you can comment on or make changes to this bug.