summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2013-06-02 22:48:30 +0000
committerNaohiro Aota <naota@gentoo.org>2013-06-02 22:48:30 +0000
commit4221a0652643fa746a9e9274fb4de623d1a29ee1 (patch)
tree3e8530ebbd3b88159b556ac837a30fa8dd9cb16b /www-servers/nginx/nginx-1.4.1-r5.ebuild
parentVersion bump. (diff)
downloadgentoo-2-4221a0652643fa746a9e9274fb4de623d1a29ee1.tar.gz
gentoo-2-4221a0652643fa746a9e9274fb4de623d1a29ee1.tar.bz2
gentoo-2-4221a0652643fa746a9e9274fb4de623d1a29ee1.zip
Use group id 0 instead of group name root, which is not portable. #462214
(Portage version: 2.2.0_alpha176/cvs/Linux x86_64, signed Manifest commit with key F8551514)
Diffstat (limited to 'www-servers/nginx/nginx-1.4.1-r5.ebuild')
-rw-r--r--www-servers/nginx/nginx-1.4.1-r5.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/www-servers/nginx/nginx-1.4.1-r5.ebuild b/www-servers/nginx/nginx-1.4.1-r5.ebuild
index c9450ee5a05d..ec5a09c5b2cc 100644
--- a/www-servers/nginx/nginx-1.4.1-r5.ebuild
+++ b/www-servers/nginx/nginx-1.4.1-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-1.4.1-r5.ebuild,v 1.1 2013/05/23 20:32:59 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-1.4.1-r5.ebuild,v 1.2 2013/06/02 22:48:30 naota Exp $
EAPI="5"
@@ -435,7 +435,7 @@ src_install() {
# this solves a problem with SELinux where nginx doesn't see the directories
# as root and tries to create them as nginx
fperms 0750 "${NGINX_HOME_TMP}"
- fowners ${PN}:root "${NGINX_HOME_TMP}"
+ fowners ${PN}:0 "${NGINX_HOME_TMP}"
fperms 0700 /var/log/nginx "${NGINX_HOME_TMP}"/{client,proxy,fastcgi,scgi,uwsgi}
fowners ${PN}:${PN} /var/log/nginx "${NGINX_HOME_TMP}"/{client,proxy,fastcgi,scgi,uwsgi}