From 9c9e69c324775673864e146458e250155d0c52e5b4fbcb123a6d9ae0a2c50c7a Mon Sep 17 00:00:00 2001 From: Kristyna Streitova Date: Mon, 6 Oct 2014 12:08:39 +0000 Subject: [PATCH] Accepting request 253625 from home:pgajdos - 700 permissions for /usr/sbin/apache2-systemd-ask-pass and /usr/sbin/start_apache2 [bnc#851627] OBS-URL: https://build.opensuse.org/request/show/253625 OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=409 --- apache2.changes | 6 ++++++ apache2.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/apache2.changes b/apache2.changes index 78fe081..86ed56c 100644 --- a/apache2.changes +++ b/apache2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Sep 29 11:57:40 UTC 2014 - pgajdos@suse.com + +- 700 permissions for /usr/sbin/apache2-systemd-ask-pass and + /usr/sbin/start_apache2 [bnc#851627] + ------------------------------------------------------------------- Wed Sep 26 15:38:17 UTC 2014 - oholecek@suse.com diff --git a/apache2.spec b/apache2.spec index ff600c2..bf9d467 100644 --- a/apache2.spec +++ b/apache2.spec @@ -622,10 +622,10 @@ tar xjf %{SOURCE29} -C $RPM_BUILD_ROOT/%{sysconfdir} # init script and friends mkdir -p $RPM_BUILD_ROOT/etc/init.d install -m 744 $RPM_SOURCE_DIR/rc.%{pname} $RPM_BUILD_ROOT/etc/init.d/%{pname} -install -m 744 $RPM_SOURCE_DIR/start_apache2 $RPM_BUILD_ROOT/usr/sbin/start_apache2 +install -m 700 $RPM_SOURCE_DIR/start_apache2 $RPM_BUILD_ROOT/usr/sbin/start_apache2 %if 0%{?suse_version} >= 1210 mkdir -p $RPM_BUILD_ROOT%{_unitdir}/system/ -install -m 744 $RPM_SOURCE_DIR/apache2-systemd-ask-pass $RPM_BUILD_ROOT/usr/sbin/apache2-systemd-ask-pass +install -m 700 $RPM_SOURCE_DIR/apache2-systemd-ask-pass $RPM_BUILD_ROOT/usr/sbin/apache2-systemd-ask-pass install -m 644 $RPM_SOURCE_DIR/apache2.service $RPM_BUILD_ROOT%{_unitdir}/system/apache2.service %endif ln -sf ../../etc/init.d/%{pname} $RPM_BUILD_ROOT/%{_sbindir}/rc%{pname}