public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [flatpaks/flatpak-runtime] f45: Remove ssh_config.d files
Date: Fri, 11 Sep 2026 14:43:27 GMT	[thread overview]
Message-ID: <178913780786.1.2992368157353548677.flatpaks-flatpak-runtime-3d33fc980cf8@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : flatpaks/flatpak-runtime
            Branch : f45
            Commit : 3d33fc980cf83be3bcd6ebe5a0d7f8c83cb1046f
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-03-02T21:13:17-05:00
            Stats  : +6/-0 in 2 file(s)
            URL    : https://src.fedoraproject.org/flatpaks/flatpak-runtime/c/3d33fc980cf83be3bcd6ebe5a0d7f8c83cb1046f?branch=f45

            Log:
            Remove ssh_config.d files

SSH checks the permissions and ownership of these files (but not of the
main ssh_config file itself).  While it needs to be world readable, the
expected owner is root, but flatpaks show all files as to nfsnobody.

https://gitlab.com/fedora/sigs/flatpak/fedora-flatpaks/-/issues/41

---
diff --git a/container-sdk.in.yaml b/container-sdk.in.yaml
index f8dea88..bcb32f3 100644
--- a/container-sdk.in.yaml
+++ b/container-sdk.in.yaml
@@ -92,6 +92,9 @@ flatpak:
         rm -fr /usr/lib/systemd/
         rm -fr /usr/share/{doc,info,man}
 
+        # SSH error: Bad owner or permissions on /etc/ssh/ssh_config.d/50-redhat.conf
+        rm -f /etc/ssh/ssh_config.d/*
+
         # enable dynamic ld.so.cache generation
         [ -e /usr/bin/ldconfig ] || ln -s ../sbin/ldconfig /usr/bin/ldconfig
         cat /etc/ld.so.conf.d/*.conf > /etc/ld.so.conf

diff --git a/container.in.yaml b/container.in.yaml
index d225c95..396f3f6 100644
--- a/container.in.yaml
+++ b/container.in.yaml
@@ -87,6 +87,9 @@ flatpak:
         rm -fr /usr/lib/systemd/
         rm -fr /usr/share/{doc,info,man}
 
+        # SSH error: Bad owner or permissions on /etc/ssh/ssh_config.d/50-redhat.conf
+        rm -f /etc/ssh/ssh_config.d/*
+
         # enable dynamic ld.so.cache generation
         [ -e /usr/bin/ldconfig ] || ln -s ../sbin/ldconfig /usr/bin/ldconfig
         cat /etc/ld.so.conf.d/*.conf > /etc/ld.so.conf

                 reply	other threads:[~2026-09-11 14:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=178913780786.1.2992368157353548677.flatpaks-flatpak-runtime-3d33fc980cf8@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --cc=git-commits@fedoraproject.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