- Plesk Onyx for Linux
Unable to use git commands under the system user of a subscription:
# git push example
bash: git-receive-pack: command not found
fatal: Could not read from remote repository.
CloudLinux is installed on the server.
- Subscription user is under CageFS.
Misconfiguration of CageFS.
In order to use git under that user in CageFS, it is required to either add git to the skeleton of CageFS globally or to remove the user from CageFS.
- To disable the user in CageFS:
Log into the server via SSH.
Disable CageFS for the system user of the subscription, where
john_doeis a system user of a subscription:
# /usr/sbin/cagefsctl --disable john_doe
- To add git to CageFS skeleton:
- Connect to the server via SSH..
Allow execution of git for all users in CageFS:
# cagefsctl --addrpm git
# cagefsctl --force-update