Re: [Bacula-users] HOME for client scripts

2023-11-23 Thread Dan Langille
On Thu, Nov 23, 2023, at 10:57 AM, Martin Simmons wrote: > I've just tested it with the Bacula 15 Beta on FreeBSD 12.4 and found that the > value of HOME in the ClientRunBeforeJob script comes from when bacula-fd was > started and Bacula doesn't change it. > > How are you starting Bacula 9.6.7? La

Re: [Bacula-users] HOME for client scripts

2023-11-23 Thread Martin Simmons
I've just tested it with the Bacula 15 Beta on FreeBSD 12.4 and found that the value of HOME in the ClientRunBeforeJob script comes from when bacula-fd was started and Bacula doesn't change it. How are you starting Bacula 9.6.7? Note that FreeBSD's system startup scripts such as /etc/rc and /usr/

[Bacula-users] HOME for client scripts

2023-11-23 Thread Dan Langille
Hello, One of the features of a is a script. I frequently use ClientRunBeforeJob to invoke pg_dump - I'm sure others may do similar. For Bacula 9.6.7, when in that script, the value for $HOME is / The UID is 0, i.e. root. On FreeBSD, root's home directory is /root. I'm not sure why that diffe