From 8fb3563aaaa754845e1514bc96d19ede7ff0c9d3 Mon Sep 17 00:00:00 2001 From: ZhouPengcheng Date: Thu, 15 Jun 2023 03:03:17 +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 f8bee4d..16ca54f 100644 --- a/rsync.spec +++ b/rsync.spec @@ -1,6 +1,6 @@ Name: rsync Version: 3.2.7 -Release: 1 +Release: 2 Summary: Fast incremental file transfer utility License: GPL-3.0-or-later URL: http://rsync.samba.org/ @@ -43,7 +43,6 @@ at one of the ends of the link beforehand. %check make check -chmod -x support/* %install %make_install @@ -68,7 +67,7 @@ install -D -m644 %{SOURCE5} %{buildroot}/%{_unitdir}/rsyncd@.service %files -n rsync %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 @@ -82,6 +81,12 @@ install -D -m644 %{SOURCE5} %{buildroot}/%{_unitdir}/rsyncd@.service %{_mandir}/man5/rsyncd.conf.5* %changelog +* Thu Jun 15 2023 zhoupengcheng - 3.2.7-2 +- Type:bugfix +- CVE: +- SUG:NA +- DESC:Restrict the doc permission in rsync to 644. + * Tue Jan 31 2023 wangjunqi - 3.2.7-1 - update version to 3.2.7