2006-08-18 13:05:39 +00:00
|
|
|
@c This option is included at several places.
|
|
|
|
@item --homedir @var{dir}
|
|
|
|
@opindex homedir
|
2008-05-26 16:48:05 +00:00
|
|
|
Set the name of the home directory to @var{dir}. If this option is not
|
2006-08-18 13:05:39 +00:00
|
|
|
used, the home directory defaults to @file{~/.gnupg}. It is only
|
|
|
|
recognized when given on the command line. It also overrides any home
|
|
|
|
directory stated through the environment variable @env{GNUPGHOME} or
|
2013-08-01 11:20:48 +02:00
|
|
|
(on Windows systems) by means of the Registry entry
|
2006-08-18 13:05:39 +00:00
|
|
|
@var{HKCU\Software\GNU\GnuPG:HomeDir}.
|
2008-04-03 09:58:28 +00:00
|
|
|
|
2013-08-01 11:20:48 +02:00
|
|
|
On Windows systems it is possible to install GnuPG as a portable
|
|
|
|
application. In this case only this command line option is
|
|
|
|
considered, all other ways to set a home directory are ignored.
|
|
|
|
|
|
|
|
To install GnuPG as a portable application under Windows, create an
|
|
|
|
empty file name @file{gpgconf.ctl} in the same directory as the tool
|
|
|
|
@file{gpgconf.exe}. The root of the installation is than that
|
|
|
|
directory; or, if @file{gpgconf.exe} has been installed directly below
|
|
|
|
a directory named @file{bin}, its parent directory. You also need to
|
|
|
|
make sure that the following directories exist and are writable:
|
2015-06-09 21:29:15 +02:00
|
|
|
@file{ROOT/home} for the GnuPG home and @file{ROOT@value{LOCALCACHEDIR}}
|
2013-08-01 11:20:48 +02:00
|
|
|
for internal cache files.
|