Modify pav and pavd premission from 700 to 500

Signed-off-by: ExtinctFire <shenyining_00@126.com>
(cherry picked from commit d9ebffa88da332e6b5a330f38f0f7f0962b5f11e)
This commit is contained in:
ExtinctFire 2022-12-17 18:01:27 +08:00 committed by openeuler-sync-bot
parent ca1d54e031
commit f49e9cb14d

View File

@ -2,7 +2,7 @@
Name: secpaver
Summary: Security policy development tool
Version: 1.0.2
Release: 2
Release: 3
License: Mulan PSL v2
URL: https://gitee.com/openeuler/secpaver
Source: https://gitee.com/openeuler/secpaver/repository/archive/%{name}-%{version}.tar.gz
@ -10,7 +10,7 @@ Source: https://gitee.com/openeuler/secpaver/repository/archive/%{name}-%{versio
Patch0001: dont-do-daemon-reload-in-make-install.patch
Patch0002: set-default-log-path.patch
BuildRequires: golang make
BuildRequires: golang make systemd
Requires: %{name}-plugin = %{version}-%{release}
%define debug_package %{nil}
@ -42,8 +42,8 @@ SELinux plugin for secPaver.
%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
@ -73,6 +73,9 @@ SELinux plugin for secPaver.
%systemd_postun_with_restart pavd.service
%changelog
* Sat Dec 17 2022 ExtinctFire <shenyining_00@126.com> - 1.0.2-3
- Modify pav and pavd premission from 700 to 500
* Thu Sep 30 2021 luhuaxin <1539327763@qq.com> - 1.0.2-2
- set default log path