summaryrefslogtreecommitdiff
path: root/libpod/runtime_volume.go
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2022-04-26 14:38:43 -0400
committerChris Evich <cevich@redhat.com>2022-04-27 12:13:54 -0400
commit9c0c29f0861fea4ac3c76e6c1314e2b44582f3ab (patch)
treeed32277d4c8c78fbf0f51283f71801508fea8c11 /libpod/runtime_volume.go
parentd4e30b33a167dd02ba097aa4dfd1e7a4c1776a0a (diff)
downloadpodman-9c0c29f0861fea4ac3c76e6c1314e2b44582f3ab.tar.gz
podman-9c0c29f0861fea4ac3c76e6c1314e2b44582f3ab.tar.bz2
podman-9c0c29f0861fea4ac3c76e6c1314e2b44582f3ab.zip
Cirrus: Fix ownership of repos. to keep git happy
Newer versions of git are much more pedantic about who owns the repository files. When setting up to run rootless, prior to this commit, the repo. ownership was changed from root. This causes all subsequent git-operations as root to fail: ``` fatal: unsafe repository ('<$GOSRC>' is owned by someone else) ``` Fix this by re-ordering operations, such that the change in ownership is done immediately before executing as a user. Also disable the git-ownership check on the source repository assuming the CI environment is disposable. Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'libpod/runtime_volume.go')
0 files changed, 0 insertions, 0 deletions