Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 307099 Details for
Bug 398899
www-servers/apache: /var/log/apache2 shouldn't be world readable
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
apache-2.eclass.patch
apache-2.eclass.patch (text/plain), 838 bytes, created by
Gerrit Helm
on 2012-03-29 15:13:13 UTC
(
hide
)
Description:
apache-2.eclass.patch
Filename:
MIME Type:
Creator:
Gerrit Helm
Created:
2012-03-29 15:13:13 UTC
Size:
838 bytes
patch
obsolete
>--- apache-2.eclass 2012-03-29 16:55:52.000000000 +0200 >+++ apache-2.eclass 2012-03-29 16:56:06.000000000 +0200 >@@ -539,7 +539,7 @@ > for i in /var/lib/dav /var/log/apache2 /var/cache/apache2 ; do > keepdir ${i} > fowners apache:apache ${i} >- fperms 0755 ${i} >+ fperms 0750 ${i} > done > } > >@@ -550,6 +550,11 @@ > # because the default webroot is a copy of the files that exist elsewhere and we > # don't want them to be managed/removed by portage when apache is upgraded. > apache-2_pkg_postinst() { >+ # fix previously wrong set permissions Bug#398899 >+ for i in /var/lib/dav /var/log/apache2 /var/cache/apache2 ; do >+ chmod 0750 ${i} >+ done >+ > if use ssl && [[ ! -e "${ROOT}/etc/ssl/apache2/server.pem" ]]; then > SSL_ORGANIZATION="${SSL_ORGANIZATION:-Apache HTTP Server}" > install_cert /etc/ssl/apache2/server >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 398899
: 307099