From 7e6d8d08eac2c9f3651e6db1ce39491fbd8e92788420643598f9df3a2f346e47 Mon Sep 17 00:00:00 2001 From: Marguerite Su Date: Sun, 4 Mar 2018 07:09:23 +0000 Subject: [PATCH] Accepting request 582025 from home:KGronlund:branches:server:http - Ensure haproxy home directory is not world readable (bsc#1077716) OBS-URL: https://build.opensuse.org/request/show/582025 OBS-URL: https://build.opensuse.org/package/show/server:http/haproxy?expand=0&rev=160 --- haproxy.changes | 5 +++++ haproxy.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/haproxy.changes b/haproxy.changes index 28ebaac..7f8d98e 100644 --- a/haproxy.changes +++ b/haproxy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 2 16:37:25 UTC 2018 - kgronlund@suse.com + +- Ensure haproxy home directory is not world readable (bsc#1077716) + ------------------------------------------------------------------- Thu Feb 08 13:15:17 UTC 2018 - kgronlund@suse.com diff --git a/haproxy.spec b/haproxy.spec index 84ca894..82a543f 100644 --- a/haproxy.spec +++ b/haproxy.spec @@ -163,7 +163,7 @@ install -D -m 0755 %{S:1} %{buildroot}%{_sysconfdir}/init.d %{__ln_s} -f %{_sysconfdir}/init.d/%{pkg_name} %{buildroot}%{_sbindir}/rc%{pkg_name} %endif -install -d -m 0755 %{buildroot}%{pkg_home} +install -d -m 0750 %{buildroot}%{pkg_home} install -D -m 0644 examples/haproxy.vim %{buildroot}%{vim_data_dir}/syntax/%{pkg_name}.vim install -D -m 0644 doc/%{pkg_name}.1 %{buildroot}%{_mandir}/man1/%{pkg_name}.1 %if %{with apparmor}