public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrick Lauer (patrick)" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: apache-2.eclass ChangeLog
Date: Thu, 29 Mar 2012 15:35:04 +0000 (UTC)	[thread overview]
Message-ID: <20120329153504.365C82004B@flycatcher.gentoo.org> (raw)

patrick     12/03/29 15:35:04

  Modified:             apache-2.eclass ChangeLog
  Log:
  Sanitizing directory permissions #398899

Revision  Changes    Path
1.28                 eclass/apache-2.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/apache-2.eclass?rev=1.28&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/apache-2.eclass?rev=1.28&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/apache-2.eclass?r1=1.27&r2=1.28

Index: apache-2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- apache-2.eclass	5 Mar 2012 08:20:52 -0000	1.27
+++ apache-2.eclass	29 Mar 2012 15:35:04 -0000	1.28
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.27 2012/03/05 08:20:52 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.28 2012/03/29 15:35:04 patrick Exp $
 
 # @ECLASS: apache-2.eclass
 # @MAINTAINER:
@@ -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,12 @@
 # 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
+	einfo "Sanitizing directory permissions ..."
+	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



1.194                eclass/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.194&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.194&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.193&r2=1.194

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.193
retrieving revision 1.194
diff -u -r1.193 -r1.194
--- ChangeLog	29 Mar 2012 12:47:35 -0000	1.193
+++ ChangeLog	29 Mar 2012 15:35:04 -0000	1.194
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.193 2012/03/29 12:47:35 marienz Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.194 2012/03/29 15:35:04 patrick Exp $
+
+  29 Mar 2012; Patrick Lauer <patrick@gentoo.org> apache-2.eclass:
+  Sanitizing directory permissions #398899
 
   29 Mar 2012; Marien Zwart <marienz@gentoo.org> python.eclass:
   Add more versions of pypy to the hardcoded mapping in python.eclass.






             reply	other threads:[~2012-03-29 15:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-29 15:35 Patrick Lauer (patrick) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-07-16  6:06 [gentoo-commits] gentoo-x86 commit in eclass: apache-2.eclass ChangeLog Lars Wendler (polynomial-c)
2014-08-05 14:19 Christoph Junghans (ottxor)
2014-05-22 13:58 Lars Wendler (polynomial-c)
2012-03-05  8:20 Patrick Lauer (patrick)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120329153504.365C82004B@flycatcher.gentoo.org \
    --to=patrick@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox