May 15 03:08:39 juju-manual-jenkaas-java-compatibility-kit-bionic-1 bash[19909]: Exception in thread "main" java.nio.file.AccessDeniedException: /var/lib/jenkins/slaves
May 15 03:11:48 juju-manual-jenkaas-java-compatibility-kit-bionic-1 bash[20160]: Exception in thread "main" java.nio.file.AccessDeniedException: /var/lib/jenkins/slaves/jenkins-slave-1
which is a pretty unhelpful way to report the non-existence of something.
I just realized my original report was somewhat unclear because this was when I also discovered that install -d works like "mkdir -p"; the command above creates any missing directories.
The errors were (in /var/log/syslog):
May 15 03:08:39 juju-manual- jenkaas- java-compatibil ity-kit- bionic- 1 bash[19909]: Exception in thread "main" java.nio. file.AccessDeni edException: /var/lib/ jenkins/ slaves jenkaas- java-compatibil ity-kit- bionic- 1 bash[20160]: Exception in thread "main" java.nio. file.AccessDeni edException: /var/lib/ jenkins/ slaves/ jenkins- slave-1
May 15 03:11:48 juju-manual-
which is a pretty unhelpful way to report the non-existence of something.
I just realized my original report was somewhat unclear because this was when I also discovered that install -d works like "mkdir -p"; the command above creates any missing directories.