From 38567f910130f8559c2ba6935e0bfad61f6b1f4f Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Mon, 19 Oct 2015 11:16:40 +0800 Subject: openssh: fix file permission for /etc/pam.d/sshd The file permission should be 0644 instead of 0755. Signed-off-by: Chen Qi Signed-off-by: Ross Burton --- meta/recipes-connectivity/openssh/openssh_7.1p1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-connectivity') diff --git a/meta/recipes-connectivity/openssh/openssh_7.1p1.bb b/meta/recipes-connectivity/openssh/openssh_7.1p1.bb index eeeb4b4c73..40938cc08c 100644 --- a/meta/recipes-connectivity/openssh/openssh_7.1p1.bb +++ b/meta/recipes-connectivity/openssh/openssh_7.1p1.bb @@ -87,7 +87,7 @@ do_compile_ptest() { do_install_append () { if [ "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" = "pam" ]; then - install -D -m 0755 ${WORKDIR}/sshd ${D}${sysconfdir}/pam.d/sshd + install -D -m 0644 ${WORKDIR}/sshd ${D}${sysconfdir}/pam.d/sshd sed -i -e 's:#UsePAM no:UsePAM yes:' ${WORKDIR}/sshd_config ${D}${sysconfdir}/ssh/sshd_config fi -- cgit 1.2.3-korg