[ic] 4.9.7 gpg problems - Found my problem but how to fix?

Tim Stoakes interchange-users@icdevgroup.org
Wed Feb 19 22:42:01 2003


On Wed, 19 Feb 2003 22:11:57 -0500
 DB <DB@M-and-D.com> wrote:
> I found the gpg error log which makes the problem obvious:
> 
> gpg: fatal: /var/lib/interchange/.gnupg: can't create directory: No such 
> file or directory
> 
> I need it to use /usr/local/interchange/.gpg instead. I suppose a 
> symlink would work but I'd rather have it look in the right place. Where 
> do I set this path?
> 
> DB
> 
> _______________________________________________
> interchange-users mailing list
> interchange-users@icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users

That's the default gpg home directory. You can change it with the --homedir option to gpg (change it in your Route definition probably).
Interchange is looking in /var/lib/interchange because that is the home directory for the interchange user. Instead of changing the gpg homedir, you probably want to change this home directory in /etc/passwd, then manually su to interch user and run gpg to let it create the ~/.gnupg directory. This is where your keys go, so it will create trustdb and other files for you.

Tim Stoakes