Hi all,
i came from bacula 11 with baculum 11 and did a clean install of bacularis with bacula 13.04. I ran into a problem where the situation did work before, but running a script on the client like so with this error message in the log:
08-Feb 08:33 backup-fd JobId 68: shell command: run ClientBeforeJob "/opt/bacula/scripts/test.sh"
08-Feb 08:33 backup-fd JobId 68: Error: Runscript: ClientBeforeJob returned non-zero status=208. ERR=No such file or directory
running the script on the client with sudo -u bacula /opt/bacula/scripts/test.sh does work as expected. So im currently running in a loop. Anybody knows how to tackle this issue?
running this command shows bacula has access:
sudo -u bacula ls -lah /opt/bacula/scripts/
total 20K
-rw-r--r-- 1 bacula bacula 243 Feb 12 2024 btraceback.gdb
-rw-r--r-- 1 bacula bacula 140 Feb 12 2024 common-functions
-rwxr-xr-x 1 bacula bacula 60 Feb 8 07:04 test.sh