From bab0667802b1463ab9caefb0e0f9250b2a2d16de Mon Sep 17 00:00:00 2001 From: Qiumiao Zhang Date: Mon, 19 Dec 2022 09:48:40 +0800 Subject: [PATCH] modify the permissions of the files which under /usr/lib/systemd/system directory in grub2-tools to 644 Signed-off-by: Qiumiao Zhang --- grub2.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/grub2.spec b/grub2.spec index a2247b3..e20380b 100644 --- a/grub2.spec +++ b/grub2.spec @@ -14,7 +14,7 @@ Name: grub2 Epoch: 1 Version: 2.06 -Release: 16 +Release: 17 Summary: Bootloader with support for Linux, Multiboot and more License: GPLv3+ URL: http://www.gnu.org/software/grub/ @@ -255,6 +255,8 @@ install -d -m 0755 %{buildroot}%{_unitdir}/system-update.target.wants install -m 0644 docs/grub-boot-indeterminate.service %{buildroot}%{_unitdir} ln -s ../grub-boot-indeterminate.service %{buildroot}%{_unitdir}/system-update.target.wants +find %{buildroot}%{_unitdir}/ -type f -exec chmod a-x {} \; + %global finddebugroot "%{_builddir}/%{?buildsubdir}/debug" %global dip RPM_BUILD_ROOT=%{finddebugroot} %{__debug_install_post} @@ -437,6 +439,13 @@ fi %{_datadir}/man/man* %changelog +* Mon Dec 19 2022 zhangqiumiao - 1:2.06-17 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:modify the permissions of the files which under /usr/lib/systemd/system directory + in grub2-tools to 644 + * Mon Dec 12 2022 zhangqiumiao - 1:2.06-16 - Type:bugfix - CVE:NA