summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRadoslaw Stachowiak <radek@gentoo.org>2004-09-25 22:45:15 +0000
committerRadoslaw Stachowiak <radek@gentoo.org>2004-09-25 22:45:15 +0000
commitdb7a5b6dbc9476e41d5159ba8705dfaa1f823a62 (patch)
treeea432a7609395df52a514b83bfe0c3ae94b05a5f /eclass
parentNew package; key'd for ~x86. (diff)
downloadhistorical-db7a5b6dbc9476e41d5159ba8705dfaa1f823a62.tar.gz
historical-db7a5b6dbc9476e41d5159ba8705dfaa1f823a62.tar.bz2
historical-db7a5b6dbc9476e41d5159ba8705dfaa1f823a62.zip
all installed files should be readable by all. as not all products comply
to this, we will chmod them.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/zproduct.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/zproduct.eclass b/eclass/zproduct.eclass
index 10b4f25db345..fe0bc502df5b 100644
--- a/eclass/zproduct.eclass
+++ b/eclass/zproduct.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/zproduct.eclass,v 1.13 2004/09/18 16:01:22 batlogg Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/zproduct.eclass,v 1.14 2004/09/25 22:45:15 radek Exp $
# Author: Jason Shoemaker <kutsuya@gentoo.org>
# This eclass is designed to streamline the construction of
@@ -99,8 +99,8 @@ zproduct_pkg_postinst()
# the target directory
chown -R root:root ${ZP_DIR}/${PF}
- # make shure there is nothing writable in the new dir
- chmod -R go-w ${ZP_DIR}/${PF}
+ # make shure there is nothing writable in the new dir, and all is readable
+ chmod -R go-w,a+rX ${ZP_DIR}/${PF}
einfo ">>> Installing ${PF} into the \"$(zope-config --zidef-get)\" zinstance..."
${ROOT}/usr/sbin/zprod-manager add ${ZP_DIR}/${PF}
}