From 8e62488f53e17c2363ba6c3cec3e690eb60597ef Mon Sep 17 00:00:00 2001 From: zgzxx Date: Mon, 8 Apr 2024 09:57:40 +0800 Subject: [PATCH] modify pav and pavd premission from 700 to 500 (cherry picked from commit 91c9c1c66a0e853cbbeaa75d4e601acba1a50e6d) --- secpaver.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/secpaver.spec b/secpaver.spec index bf312a7..d8dadcb 100755 --- a/secpaver.spec +++ b/secpaver.spec @@ -2,7 +2,7 @@ Name: secpaver Summary: Security policy development tool Version: 1.0.2 -Release: 8 +Release: 9 License: MulanPSL-2.0 URL: https://gitee.com/openeuler/secpaver Source: https://gitee.com/openeuler/secpaver/repository/archive/%{name}-%{version}.tar.gz @@ -54,8 +54,8 @@ tar -xf %{SOURCE1} -C vendor/golang.org/x/ %files %defattr(0600,root,root,0700) -%attr(0700,root,root) %{_bindir}/pav -%attr(0700,root,root) %{_bindir}/pavd +%attr(0500,root,root) %{_bindir}/pav +%attr(0500,root,root) %{_bindir}/pavd %dir %{_sysconfdir}/secpaver %dir %{_sysconfdir}/secpaver/pavd %dir %{_libdir}/secpaver @@ -85,6 +85,9 @@ tar -xf %{SOURCE1} -C vendor/golang.org/x/ %systemd_postun_with_restart pavd.service %changelog +* Mon Apr 8 2024 luofeng - 1.0.2-9 +- modify pav and pavd premission from 700 to 500 + * Mon Apr 1 2024 luofeng - 1.0.2-8 - fix go build ref C LDFLAGS -- Gitee