# HG changeset patch # User Michael Schloh von Bennewitz # Date 1349553246 -7200 # Node ID dc14180f3f4e26eef3da12ac45b01020a73dd71d # Parent f516669e3b854d1ed4c988a767d7c3920da6e9e1 Several apache dependent CMS and dynamic webservers (many PHP based) write session cookies to /var/apache/run/apache-php.session while running as the restricted '-r' user so accommodate this. diff -r f516669e3b85 -r dc14180f3f4e apache-php/apache-php.spec --- a/apache-php/apache-php.spec Sat Oct 06 21:52:50 2012 +0200 +++ b/apache-php/apache-php.spec Sat Oct 06 21:54:06 2012 +0200 @@ -527,14 +527,14 @@ # create session storage directory %if "%{with_session}" == "yes" - %{l_shtool} mkdir -f -p -m 755 \ + %{l_shtool} mkdir -f -p -m 775 \ $RPM_BUILD_ROOT%{l_prefix}/var/apache/run/apache-php.session %endif # determine installation files %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \ %if "%{with_session}" == "yes" - '%attr(0750,%{l_nusr},%{l_ngrp}) %{l_prefix}/var/apache/run/apache-php.session' \ + '%attr(0770,%{l_rusr},%{l_ngrp}) %{l_prefix}/var/apache/run/apache-php.session' \ %endif '%config %{l_prefix}/etc/apache/apache-php.ini' \ '%config %{l_prefix}/etc/apache/apache.d/apache-php.conf'