summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2015-10-19 11:16:41 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-21 22:56:04 +0100
commita27da70b3a58e5232b683f055d425cde99499f7e (patch)
treef2c7794f67d722f15e60d9253f6527b431852ad6 /meta
parentabeaed959cab2b6b7a57f3d649bc08a3b6997b3f (diff)
downloadpoky-a27da70b3a58e5232b683f055d425cde99499f7e.tar.gz
sudo: fix file permission for /etc/pam.d/sudo
The file permission should be 0644 instead of 0664. (From OE-Core rev: 86c80f6d51b3700e090c70067808ea405d5a0b20) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/sudo/sudo_1.8.14p3.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/sudo/sudo_1.8.14p3.bb b/meta/recipes-extended/sudo/sudo_1.8.14p3.bb
index 6b3cd6dbf5..b93112fa3f 100644
--- a/meta/recipes-extended/sudo/sudo_1.8.14p3.bb
+++ b/meta/recipes-extended/sudo/sudo_1.8.14p3.bb
@@ -22,7 +22,7 @@ EXTRA_OECONF += " \
22 22
23do_install_append () { 23do_install_append () {
24 if [ "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" = "pam" ]; then 24 if [ "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" = "pam" ]; then
25 install -D -m 664 ${WORKDIR}/sudo.pam ${D}/${sysconfdir}/pam.d/sudo 25 install -D -m 644 ${WORKDIR}/sudo.pam ${D}/${sysconfdir}/pam.d/sudo
26 fi 26 fi
27 27
28 chmod 4111 ${D}${bindir}/sudo 28 chmod 4111 ${D}${bindir}/sudo