I want to execute Git commands (
git status) from within a PHP application in a virtual host managed by Plesk (Linux).
Since the git repository was setup by a vhosts system user, PHP scripts with Git commands (e.g. exec(
git pull)) executed by Apache run in permission problems.
What file permissions should the local Git repository have to be modified by the system user as well as Apache running PHP scripts?