Skip to content
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

pggb versioning info causing git dubious ownership problems #288

Open
colindaven opened this issue Mar 27, 2023 · 0 comments
Open

pggb versioning info causing git dubious ownership problems #288

colindaven opened this issue Mar 27, 2023 · 0 comments

Comments

@colindaven
Copy link

Hi,

I'm getting this error when building pulling the pggb container and making additional local changes.

PGGB version: 

fatal: detected dubious ownership in repository at '/usr/local/bin'
To add an exception for this directory, call:

        git config --global --add safe.directory /usr/local/bin

This error has been discussed at length on the net, eg

actions/runner-images#6775

I may be wrong, but I think it is due to the versioning code here (see also the error above, where the PGGB version is listed just before the error):

https://github.com/pangenome/pggb/blob/master/Dockerfile#L148

Potentially, a workaround might be to add this prior to the version request in the Dockerfile.

RUN git config --system --add safe.directory /usr/local/bin

Thanks

@colindaven colindaven changed the title pggb versioning info causing git problems pggb versioning info causing git dubious ownership problems Mar 27, 2023
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