modify pav and pavd premission from 700 to 500

This commit is contained in:
zgzxx 2024-04-08 09:57:40 +08:00
parent c4ab61e3d4
commit 91c9c1c66a

View File

@ -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 <luofeng13@huawei.com> - 1.0.2-9
- modify pav and pavd premission from 700 to 500
* Mon Apr 1 2024 luofeng <luofeng13@huawei.com> - 1.0.2-8
- fix go build ref C LDFLAGS