diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2015-10-19 11:16:41 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-21 22:51:48 +0100 |
commit | 86c80f6d51b3700e090c70067808ea405d5a0b20 (patch) | |
tree | 5c5f22ddee837b8944071b079cd6ad1d5fa7e86b /meta/recipes-extended/sudo | |
parent | 38567f910130f8559c2ba6935e0bfad61f6b1f4f (diff) | |
download | openembedded-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>
Diffstat (limited to 'meta/recipes-extended/sudo')
-rw-r--r-- | meta/recipes-extended/sudo/sudo_1.8.14p3.bb | 2 |
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 |