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

[BUG] make delete-rem-tags: git-error: "fatal: unsafe repository ('/data' is owned by someone else)" #17

Closed
liketechnik opened this issue Jul 5, 2022 · 1 comment · Fixed by #16
Assignees
Labels

Comments

@liketechnik
Copy link
Contributor

liketechnik commented Jul 5, 2022

Describe the bug
The delete-rem-tags script cannot be executed.

To Reproduce
Steps to reproduce the behavior:

  1. Add a <!-- REM --> pair to one of the markdown files (e. g. https://github.com/Compilerbau/CB-Lecture-Bachelor/pull/11/files)
  2. Build the docker image in .github/actions/alpine-pandoc-hugo/: cd .github/actions/alpine-pandoc-hugo/ && make
  3. Execute make delete-rem-tags
  4. Observe the following output message (abbreviated): git-error: "fatal: unsafe repository ('/data' is owned by someone else)"

Expected behavior

The script runs and adds the commits according to the rem tags.

Desktop (please complete the following information):

  • OS: Linux
  • Browser not relevant
  • Version not relevant

Additional context

  • You may need to rebuild the docker image from scratch in order to get the latest git version inside the image.

  • Does not occur when executing the docker image as non-root user with podman

  • Originally reported by @malt-r (I hope you are able to edit this issue's description, feel free to change anything I misreported here).

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

Successfully merging a pull request may close this issue.

1 participant