Sat, 06 Oct 2012 21:54:06 +0200
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.
apache-php/apache-php.spec | file | annotate | diff | comparison | revisions |
1.1 --- a/apache-php/apache-php.spec Sat Oct 06 21:52:50 2012 +0200 1.2 +++ b/apache-php/apache-php.spec Sat Oct 06 21:54:06 2012 +0200 1.3 @@ -527,14 +527,14 @@ 1.4 1.5 # create session storage directory 1.6 %if "%{with_session}" == "yes" 1.7 - %{l_shtool} mkdir -f -p -m 755 \ 1.8 + %{l_shtool} mkdir -f -p -m 775 \ 1.9 $RPM_BUILD_ROOT%{l_prefix}/var/apache/run/apache-php.session 1.10 %endif 1.11 1.12 # determine installation files 1.13 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \ 1.14 %if "%{with_session}" == "yes" 1.15 - '%attr(0750,%{l_nusr},%{l_ngrp}) %{l_prefix}/var/apache/run/apache-php.session' \ 1.16 + '%attr(0770,%{l_rusr},%{l_ngrp}) %{l_prefix}/var/apache/run/apache-php.session' \ 1.17 %endif 1.18 '%config %{l_prefix}/etc/apache/apache-php.ini' \ 1.19 '%config %{l_prefix}/etc/apache/apache.d/apache-php.conf'