From d00e54f5d9ed193356a6bf13e6f13a2eaf7a8607 Mon Sep 17 00:00:00 2001 From: ZhouPengcheng Date: Thu, 15 Jun 2023 03:07:06 +0000 Subject: [PATCH] Restrict the doc permission in rsync to 644. --- rsync.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/rsync.spec b/rsync.spec index bb0cefa..015c6bf 100644 --- a/rsync.spec +++ b/rsync.spec @@ -1,6 +1,6 @@ Name: rsync Version: 3.2.3 -Release: 4 +Release: 5 Summary: Fast incremental file transfer utility License: GPLv3+ URL: http://rsync.samba.org/ @@ -44,7 +44,6 @@ patch -p1 -i patches/copy-devices.diff %check make check -chmod -x support/* %install %make_install @@ -69,7 +68,7 @@ install -D -m644 %{SOURCE6} %{buildroot}/%{_unitdir}/rsyncd@.service %files %defattr(-,root,root) %doc tech_report.tex -%doc support/* +%attr(0644,root,root) %doc support/* %license COPYING %config(noreplace) %{_sysconfdir}/*.conf %config(noreplace) %{_sysconfdir}/sysconfig/rsyncd @@ -83,6 +82,12 @@ install -D -m644 %{SOURCE6} %{buildroot}/%{_unitdir}/rsyncd@.service %{_mandir}/man5/rsyncd.conf.5* %changelog +* Thu Jun 15 2023 zhoupengcheng - 3.2.3-5 +- Type:bugfix +- CVE: +- SUG:NA +- DESC:Restrict the doc permission in rsync to 644. + * Fri Aug 26 2022 panxiaohe - 3.2.3-4 - fix CVE-2022-29154 -- Gitee