SELinux Security Module development
 help / color / mirror / Atom feed
From: Petr Lautrbach <plautrba@redhat.com>
To: "Christian Göttsche" <cgzones@googlemail.com>, selinux@vger.kernel.org
Subject: Re: [PATCH] ci: declare git repository a safe directory
Date: Tue, 17 May 2022 19:05:23 +0200	[thread overview]
Message-ID: <87v8u46qek.fsf@redhat.com> (raw)
In-Reply-To: <20220517132622.3380-1-cgzones@googlemail.com>

Christian Göttsche <cgzones@googlemail.com> writes:

> 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>

Acked-by: Petr Lautrbach <plautrba@redhat.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


  reply	other threads:[~2022-05-17 17:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-17 13:26 [PATCH] ci: declare git repository a safe directory Christian Göttsche
2022-05-17 17:05 ` Petr Lautrbach [this message]
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=87v8u46qek.fsf@redhat.com \
    --to=plautrba@redhat.com \
    --cc=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