summaryrefslogtreecommitdiff
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:51:48 +0100
commit86c80f6d51b3700e090c70067808ea405d5a0b20 (patch)
tree5c5f22ddee837b8944071b079cd6ad1d5fa7e86b
parent38567f910130f8559c2ba6935e0bfad61f6b1f4f (diff)
downloadopenembedded-core-86c80f6d51b3700e090c70067808ea405d5a0b20.tar.gz
openembedded-core-86c80f6d51b3700e090c70067808ea405d5a0b20.tar.bz2
openembedded-core-86c80f6d51b3700e090c70067808ea405d5a0b20.zip
sudo: fix file permission for /etc/pam.d/sudo
The file permission should be 0644 instead of 0664. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-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 += " \
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