summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-11-03 21:27:02 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-11-03 21:27:02 +0000
commit57a34e00a17a5fe6d7acbba79ee1b479765eac6d (patch)
tree1f2003112f23d548c93c6957ef30da625dbe80f2 /eclass/pam.eclass
parentfix elibtoolize before autotools (#106176) (diff)
downloadhistorical-57a34e00a17a5fe6d7acbba79ee1b479765eac6d.tar.gz
historical-57a34e00a17a5fe6d7acbba79ee1b479765eac6d.tar.bz2
historical-57a34e00a17a5fe6d7acbba79ee1b479765eac6d.zip
Make sure pam files are installed with 0644 perms. Thanks to vapier for this workaround and jkt for the report.
Diffstat (limited to 'eclass/pam.eclass')
-rw-r--r--eclass/pam.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/pam.eclass b/eclass/pam.eclass
index ad8c25836ad0..1f886f786981 100644
--- a/eclass/pam.eclass
+++ b/eclass/pam.eclass
@@ -1,7 +1,7 @@
# Copyright 2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Diego Pettenò <flameeyes@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/pam.eclass,v 1.9 2005/09/09 10:31:35 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/pam.eclass,v 1.10 2005/11/03 21:27:02 flameeyes Exp $
#
# This eclass contains functions to install pamd configuration files and
# pam modules.
@@ -19,6 +19,7 @@ dopamd() {
fi
INSDESTTREE=/etc/pam.d \
+ INSOPTIONS="-m 0644" \
doins "$@" || die "failed to install $@"
cleanpamd "$@"
}
@@ -34,6 +35,7 @@ newpamd() {
fi
INSDESTTREE=/etc/pam.d \
+ INSOPTIONS="-m 0644" \
newins "$1" "$2" || die "failed to install $1 as $2"
cleanpamd $2
}
@@ -49,6 +51,7 @@ dopamsecurity() {
fi
INSDESTTREE=/etc/security/$1 \
+ INSOPTIONS="-m 0644" \
doins "${@:2}" || die "failed to install ${@:2}"
}
@@ -63,6 +66,7 @@ newpamsecurity() {
fi
INSDESTTREE=/etc/security/$1 \
+ INSOPTIONS="-m 0644" \
newins "$2" "$3" || die "failed to install $2 as $3"
}