From 86c80f6d51b3700e090c70067808ea405d5a0b20 Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Mon, 19 Oct 2015 11:16:41 +0800 Subject: sudo: fix file permission for /etc/pam.d/sudo The file permission should be 0644 instead of 0664. Signed-off-by: Chen Qi Signed-off-by: Ross Burton --- meta/recipes-extended/sudo/sudo_1.8.14p3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-extended') 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 += " \ do_install_append () { if [ "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" = "pam" ]; then - install -D -m 664 ${WORKDIR}/sudo.pam ${D}/${sysconfdir}/pam.d/sudo + install -D -m 644 ${WORKDIR}/sudo.pam ${D}/${sysconfdir}/pam.d/sudo fi chmod 4111 ${D}${bindir}/sudo -- cgit v1.2.3