!12 [sync] PR-11: Modify /bin/pav and /bin/pavd permission from 700 to 500.
From: @openeuler-sync-bot Reviewed-by: @HuaxinLuGitee Signed-off-by: @HuaxinLuGitee
This commit is contained in:
commit
fa1526570c
@ -2,7 +2,7 @@
|
|||||||
Name: secpaver
|
Name: secpaver
|
||||||
Summary: Security policy development tool
|
Summary: Security policy development tool
|
||||||
Version: 1.0.2
|
Version: 1.0.2
|
||||||
Release: 2
|
Release: 3
|
||||||
License: Mulan PSL v2
|
License: Mulan PSL v2
|
||||||
URL: https://gitee.com/openeuler/secpaver
|
URL: https://gitee.com/openeuler/secpaver
|
||||||
Source: https://gitee.com/openeuler/secpaver/repository/archive/%{name}-%{version}.tar.gz
|
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
|
Patch0001: dont-do-daemon-reload-in-make-install.patch
|
||||||
Patch0002: set-default-log-path.patch
|
Patch0002: set-default-log-path.patch
|
||||||
|
|
||||||
BuildRequires: golang make
|
BuildRequires: golang make systemd
|
||||||
Requires: %{name}-plugin = %{version}-%{release}
|
Requires: %{name}-plugin = %{version}-%{release}
|
||||||
|
|
||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
@ -42,8 +42,8 @@ SELinux plugin for secPaver.
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(0600,root,root,0700)
|
%defattr(0600,root,root,0700)
|
||||||
%attr(0700,root,root) %{_bindir}/pav
|
%attr(0500,root,root) %{_bindir}/pav
|
||||||
%attr(0700,root,root) %{_bindir}/pavd
|
%attr(0500,root,root) %{_bindir}/pavd
|
||||||
%dir %{_sysconfdir}/secpaver
|
%dir %{_sysconfdir}/secpaver
|
||||||
%dir %{_sysconfdir}/secpaver/pavd
|
%dir %{_sysconfdir}/secpaver/pavd
|
||||||
%dir %{_libdir}/secpaver
|
%dir %{_libdir}/secpaver
|
||||||
@ -73,6 +73,9 @@ SELinux plugin for secPaver.
|
|||||||
%systemd_postun_with_restart pavd.service
|
%systemd_postun_with_restart pavd.service
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Sep 30 2021 luhuaxin <1539327763@qq.com> - 1.0.2-2
|
||||||
- set default log path
|
- set default log path
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user