Lines 539-545
Link Here
|
539 |
for i in /var/lib/dav /var/log/apache2 /var/cache/apache2 ; do |
539 |
for i in /var/lib/dav /var/log/apache2 /var/cache/apache2 ; do |
540 |
keepdir ${i} |
540 |
keepdir ${i} |
541 |
fowners apache:apache ${i} |
541 |
fowners apache:apache ${i} |
542 |
fperms 0755 ${i} |
542 |
fperms 0750 ${i} |
543 |
done |
543 |
done |
544 |
} |
544 |
} |
545 |
|
545 |
|
Lines 550-555
Link Here
|
550 |
# because the default webroot is a copy of the files that exist elsewhere and we |
550 |
# because the default webroot is a copy of the files that exist elsewhere and we |
551 |
# don't want them to be managed/removed by portage when apache is upgraded. |
551 |
# don't want them to be managed/removed by portage when apache is upgraded. |
552 |
apache-2_pkg_postinst() { |
552 |
apache-2_pkg_postinst() { |
|
|
553 |
# fix previously wrong set permissions Bug#398899 |
554 |
for i in /var/lib/dav /var/log/apache2 /var/cache/apache2 ; do |
555 |
chmod 0750 ${i} |
556 |
done |
557 |
|
553 |
if use ssl && [[ ! -e "${ROOT}/etc/ssl/apache2/server.pem" ]]; then |
558 |
if use ssl && [[ ! -e "${ROOT}/etc/ssl/apache2/server.pem" ]]; then |
554 |
SSL_ORGANIZATION="${SSL_ORGANIZATION:-Apache HTTP Server}" |
559 |
SSL_ORGANIZATION="${SSL_ORGANIZATION:-Apache HTTP Server}" |
555 |
install_cert /etc/ssl/apache2/server |
560 |
install_cert /etc/ssl/apache2/server |