summaryrefslogtreecommitdiff
path: root/libpod/pod_api.go
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2022-04-26 14:38:43 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2022-05-05 13:52:09 -0400
commitd57bbdb5cd24966a4a6f01dbdea6b17a6ef2965b (patch)
treef6de5a7db4fb79801d607eb4c1fb0c1553341b90 /libpod/pod_api.go
parent4716b6b1b2504f875ba157d157cf023804f98e5c (diff)
downloadpodman-d57bbdb5cd24966a4a6f01dbdea6b17a6ef2965b.tar.gz
podman-d57bbdb5cd24966a4a6f01dbdea6b17a6ef2965b.tar.bz2
podman-d57bbdb5cd24966a4a6f01dbdea6b17a6ef2965b.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/pod_api.go')
0 files changed, 0 insertions, 0 deletions