Skip to content

Git should be configured to trust the /var/www/html directory #195

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
NeillM opened this issue Feb 10, 2025 · 0 comments
Open

Git should be configured to trust the /var/www/html directory #195

NeillM opened this issue Feb 10, 2025 · 0 comments

Comments

@NeillM
Copy link

NeillM commented Feb 10, 2025

When initialising behat and tunit tests the following message is displayed

The repository at "/var/www/html" does not have the correct ownership and git refuses to use it:
fatal: detected dubious ownership in repository at '/var/www/html'
To add an exception for this directory, call:
git config --global --add safe.directory /var/www/html

It seems we probably want to make git on the image trust the directory so that git can be used by composer as a fallback when initialising the test suites.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant