-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Jérôme,

On 3/29/18 4:30 AM, Jérôme Redouté wrote:
> Le 28/03/2018 à 21:21, Christopher Schultz a écrit : Jérôme,
> 
> On 3/27/18 11:27 AM, Jérôme Redouté wrote:
>>>> I've installed tomcat8 on Debian 9, to run a web App (XNAT)
>>>> 
>>>> I've a proble concerning the HOME directory of my user
>>>> "xnat".
>>>> 
>>>> Before the HOME was, as expected, in /home/xnat
>>>> 
>>>> but now (after deploying XNAT app), it moved to
>>>> /var/lib/tomcat8
> Do you mean the HOME environment variable? Or something else?
> 
> Most "services" do not have a "HOME" in the usual sense.
> 
> Why do you need HOME to be something specific?
> 
>> yes, I mean the HOME variable for this user.
> 
>> user xnat is effectively the user that will run tomcat8 service. 
>> I don't need HOME to be specific, I need it to be at its original
>> and classical location "/home/xnat" and not in a tomcat related
>> directory...

Why not? Anything you need to do should probably be specified in a
configuration file that can be loaded without using $HOME. Your
application seems fragile.

>> My question is: who changed this HOME variable and how to reverse
>> it back Thank you

Tomcat itself does not change any environment variables other than:

PRGDIR        (for internal use)
CLASSPATH     (removes existing value before calling setenv.sh)
CATALINA_HOME (only if unset)
CATALINA_BASE (only if unset)
QIBM_MULTI_THREADED (on OS/400)
JDK_JAVA_OPTIONS (appends)

Any other changes to environment variables are being done by some
other component outside of Tomcat. Note that this could include
something your package-manager (Debian) has done.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlq9D1oACgkQHPApP6U8
pFg18g/7Bp5AtbreaMkMXe8brUDhQdNwTx/xFbm2dgqUmnyNRDfidbQ+fiS+KBA/
KMdPzTnjfGelbufKSPocOyzWuAbgDsYTXxeQwHXnzvy+axvDyfgRqJx/jemsFHjd
rv/Lfdih7Y2MYS7wa4WWmKfhKAU7xJEe7JU1yl788Iz/rWshQbBDiN4ItGaEiSTw
Uukt++DzHwHMHbbWWprqsUdj9wmlxctovveBxwq3AR02YuO0X64uhS/mdR+4AW6O
LZQAB9MM3xEALsKeKhCNKFptDY4MenXAz4pknEJg910zTcySLKvEX01JnFCrMlrY
USLJ2R931MdUlcvoJn6WYkyTc5ocSSmqBPOs7LD3NkEiGVLT62boklBegzHhVYov
zZCf5sFEqrSUXOIiGq+egBMmzSk8tOzJrFcJihYUofjx6eP3/yx1/gLRtguycgqU
L5iy3aksol4DMWRteGFaxFn9rnRP7RhRtXhfLRztidNJYUF5e6nY136x77wcFhcF
PaVCyyB7v3Ke7+YcotR427wc/OAxkMMky4C+rqKUtasnzzlurneGmCiyYARtqvyy
7Z3/rs9QzYEp7dA1L5Ow4QVrOGy3WbSsifs/7vVuhz2amaiiiSoj36aFM5Rz/2lv
9xaxemL7ZMFjEvh6A0df8LTjJvvTs1pgldlO1OVLYR9PY+nktNc=
=DXSU
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to