What user runs the git hook?
- by Jasie
I have a post-update hook on my server, such that when I
git push
it does a pull on the live web directory. However, while the push always succeeds, the post-update hook sometimes fails.
The hook is pretty simple:
#!/bin/sh
#
# An example hook script to prepare a packed repository for use over
# dumb transports.
#
# To enable this hook,…