From: "Christian Göttsche" <cgzones@googlemail.com>
To: selinux@vger.kernel.org
Subject: [PATCH] ci: declare git repository a safe directory
Date: Tue, 17 May 2022 15:26:22 +0200 [thread overview]
Message-ID: <20220517132622.3380-1-cgzones@googlemail.com> (raw)
Since version 2.35.2, due to CVE-2022-24765, git refuses to operate by
default on a repository owned by a different user.
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
---
test run: https://github.com/cgzones/selinux/actions/runs/2337320823
---
scripts/ci/fedora-test-runner.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/ci/fedora-test-runner.sh b/scripts/ci/fedora-test-runner.sh
index 3ce2c3a6..7676f6ea 100755
--- a/scripts/ci/fedora-test-runner.sh
+++ b/scripts/ci/fedora-test-runner.sh
@@ -70,6 +70,7 @@ dnf install -y \
cd "$SELINUX_DIR"
# Show HEAD commit for sanity checking
+git config --global --add safe.directory "$SELINUX_DIR"
git log --oneline -1
#
--
2.36.1
next reply other threads:[~2022-05-17 13:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-17 13:26 Christian Göttsche [this message]
2022-05-17 17:05 ` [PATCH] ci: declare git repository a safe directory Petr Lautrbach
2022-05-18 10:32 ` Petr Lautrbach
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220517132622.3380-1-cgzones@googlemail.com \
--to=cgzones@googlemail.com \
--cc=selinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox