In Debian 9 Stretch Apache is configured to use systemd
‘s PrivateTmp
feature by default. This means that the Apache tmp directory actually lives in /tmp/systemd-private-BIGLONGSTRING--apache2.service-STRING
.
So if you are running an SVN server that uses Apache for serving, anything written to /tmp
in the hook scripts ends up in the private directory rather than the normal userspace one.