2👍
Your intuition with file permissions is good, but there are lots of other system level things that could be going wrong. Environment variables, PATH, etc. I’d modify your pullhook script to log to a well known file. First verify that it’s running at all, and logging with
echo "pullhook running" >> /home/youruser/pullhook.log
and similarly redirect all necessary debugging output into the pullhook.log
file.
Source:stackexchange.com