public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Bradley G Smith <bradley.g.smith@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/containernetworking-plugins] f44: Add explicit unit file permissions during install
Date: Fri, 14 Aug 2026 14:42:00 GMT [thread overview]
Message-ID: <178671852076.1.14885268378234256208.rpms-containernetworking-plugins-b75ff28cbae1@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/containernetworking-plugins
Branch : f44
Commit : b75ff28cbae163bcd3f96dbd9634be38337fbac1
Author : Bradley G Smith <bradley.g.smith@gmail.com>
Date : 2026-08-13T10:22:52-07:00
Stats : +3/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/containernetworking-plugins/c/b75ff28cbae163bcd3f96dbd9634be38337fbac1?branch=f44
Log:
Add explicit unit file permissions during install
- A note from Petr Sklenar on the fedora developer list shows
that this package does not explicitly set unit file permissions
which can lead to a problem
- Explicit permissions are now set correctly
---
diff --git a/containernetworking-plugins.spec b/containernetworking-plugins.spec
index 8549c97..29fd2a1 100644
--- a/containernetworking-plugins.spec
+++ b/containernetworking-plugins.spec
@@ -86,9 +86,9 @@ done
install -m 0755 -vd %{buildroot}%{_libexecdir}/cni
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}/%{_libexecdir}/cni/
-install -dp %{buildroot}%{_unitdir}
-install -p plugins/ipam/dhcp/systemd/cni-dhcp.service %{buildroot}%{_unitdir}
-install -p plugins/ipam/dhcp/systemd/cni-dhcp.socket %{buildroot}%{_unitdir}
+install -d -m 0755 %{buildroot}%{_unitdir}
+install -p -m 0644 plugins/ipam/dhcp/systemd/cni-dhcp.service %{buildroot}%{_unitdir}
+install -p -m 0644 plugins/ipam/dhcp/systemd/cni-dhcp.socket %{buildroot}%{_unitdir}
%check
%go_vendor_license_check -c %{S:2}
reply other threads:[~2026-08-14 14:42 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=178671852076.1.14885268378234256208.rpms-containernetworking-plugins-b75ff28cbae1@fedoraproject.org \
--to=bradley.g.smith@gmail.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