What happened?
Using git inside override-*: scriptlets tends to result in:
:: fatal: detected dubious ownership in repository at '/data'
E.g. https://github.com/MirServer/confined-shell-wip/actions/runs/4425288703/jobs/7760152845
What should have happened?
The project needs to be fed into the container in a way that git is happy with it.
Output of snap info $snap_name
Output of snap connections $snap_name
Output of snap version
Relevant log output
:: ++ git -C /data rev-list --count HEAD
:: fatal: detected dubious ownership in repository at '/data'
:: To add an exception for this directory, call:
::
:: git config --global --add safe.directory /data
### Teminal output of app
_No response_
What happened?
Using git inside
override-*:scriptlets tends to result in:E.g. https://github.com/MirServer/confined-shell-wip/actions/runs/4425288703/jobs/7760152845
What should have happened?
The project needs to be fed into the container in a way that git is happy with it.
Output of
snap info $snap_nameOutput of
snap connections $snap_nameOutput of
snap versionRelevant log output