diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2015-10-19 11:16:40 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-21 22:56:04 +0100 |
commit | abeaed959cab2b6b7a57f3d649bc08a3b6997b3f (patch) | |
tree | 64af63ae29a83c45802a34d2e16480d33c747aad | |
parent | 96a5cfd65691dd05de10e784e9f372eb5abce34c (diff) | |
download | poky-abeaed959cab2b6b7a57f3d649bc08a3b6997b3f.tar.gz |
openssh: fix file permission for /etc/pam.d/sshd
The file permission should be 0644 instead of 0755.
(From OE-Core rev: 38567f910130f8559c2ba6935e0bfad61f6b1f4f)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-connectivity/openssh/openssh_7.1p1.bb | 2 |
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() { | |||
87 | 87 | ||
88 | do_install_append () { | 88 | do_install_append () { |
89 | if [ "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" = "pam" ]; then | 89 | if [ "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" = "pam" ]; then |
90 | install -D -m 0755 ${WORKDIR}/sshd ${D}${sysconfdir}/pam.d/sshd | 90 | install -D -m 0644 ${WORKDIR}/sshd ${D}${sysconfdir}/pam.d/sshd |
91 | sed -i -e 's:#UsePAM no:UsePAM yes:' ${WORKDIR}/sshd_config ${D}${sysconfdir}/ssh/sshd_config | 91 | sed -i -e 's:#UsePAM no:UsePAM yes:' ${WORKDIR}/sshd_config ${D}${sysconfdir}/ssh/sshd_config |
92 | fi | 92 | fi |
93 | 93 | ||