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}