work in /var/opt/githook, check directory perms