summaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity/openssh
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2015-10-19 11:16:40 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-21 22:51:47 +0100
commit38567f910130f8559c2ba6935e0bfad61f6b1f4f (patch)
treedee364bd83d9e691e206609310301ee3d1d015d6 /meta/recipes-connectivity/openssh
parentf6609aca5c533325411567a79130114654c50f3b (diff)
downloadopenembedded-core-38567f910130f8559c2ba6935e0bfad61f6b1f4f.tar.gz
openembedded-core-38567f910130f8559c2ba6935e0bfad61f6b1f4f.tar.bz2
openembedded-core-38567f910130f8559c2ba6935e0bfad61f6b1f4f.zip
openssh: fix file permission for /etc/pam.d/sshd
The file permission should be 0644 instead of 0755. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-connectivity/openssh')
-rw-r--r--meta/recipes-connectivity/openssh/openssh_7.1p1.bb2
1 files changed, 1 insertions, 1 deletions
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