In Debian 9 Stretch Apache is configured to use
PrivateTmp feature by default. This means that the Apache tmp directory actually lives in
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.