aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2015-10-19 10:31:03 +0800
committerChen Qi <Qi.Chen@windriver.com>2015-10-19 11:12:34 +0800
commit9a2f02ae5505b4c9cbfa0ba502cbcd6db2c0b803 (patch)
tree42847be09d790367609c648f59553cf08e174170
parent10e5df3503632a6e1c54612055b19f7258c3ae2f (diff)
downloadopenembedded-core-contrib-9a2f02ae5505b4c9cbfa0ba502cbcd6db2c0b803.tar.gz
openembedded-core-contrib-9a2f02ae5505b4c9cbfa0ba502cbcd6db2c0b803.tar.bz2
openembedded-core-contrib-9a2f02ae5505b4c9cbfa0ba502cbcd6db2c0b803.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>
-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