Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix file permission for pam configuration files
@ 2015-10-19  3:16 Chen Qi
  2015-10-19  3:16 ` [PATCH 1/2] openssh: fix file permission for /etc/pam.d/sshd Chen Qi
  2015-10-19  3:16 ` [PATCH 2/2] sudo: fix file permission for /etc/pam.d/sudo Chen Qi
  0 siblings, 2 replies; 3+ messages in thread
From: Chen Qi @ 2015-10-19  3:16 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 10e5df3503632a6e1c54612055b19f7258c3ae2f:

  lib/oe/image.py: Fix dependency handling for compressed types (2015-10-14 18:08:22 +0300)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib ChenQi/etc-pam
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/etc-pam

Chen Qi (2):
  openssh: fix file permission for /etc/pam.d/sshd
  sudo: fix file permission for /etc/pam.d/sudo

 meta/recipes-connectivity/openssh/openssh_7.1p1.bb | 2 +-
 meta/recipes-extended/sudo/sudo_1.8.14p3.bb        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
1.9.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] openssh: fix file permission for /etc/pam.d/sshd
  2015-10-19  3:16 [PATCH 0/2] Fix file permission for pam configuration files Chen Qi
@ 2015-10-19  3:16 ` Chen Qi
  2015-10-19  3:16 ` [PATCH 2/2] sudo: fix file permission for /etc/pam.d/sudo Chen Qi
  1 sibling, 0 replies; 3+ messages in thread
From: Chen Qi @ 2015-10-19  3:16 UTC (permalink / raw)
  To: openembedded-core

The file permission should be 0644 instead of 0755.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/recipes-connectivity/openssh/openssh_7.1p1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/openssh/openssh_7.1p1.bb b/meta/recipes-connectivity/openssh/openssh_7.1p1.bb
index eeeb4b4..40938cc 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
 
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] sudo: fix file permission for /etc/pam.d/sudo
  2015-10-19  3:16 [PATCH 0/2] Fix file permission for pam configuration files Chen Qi
  2015-10-19  3:16 ` [PATCH 1/2] openssh: fix file permission for /etc/pam.d/sshd Chen Qi
@ 2015-10-19  3:16 ` Chen Qi
  1 sibling, 0 replies; 3+ messages in thread
From: Chen Qi @ 2015-10-19  3:16 UTC (permalink / raw)
  To: openembedded-core

The file permission should be 0644 instead of 0664.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/recipes-extended/sudo/sudo_1.8.14p3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/sudo/sudo_1.8.14p3.bb b/meta/recipes-extended/sudo/sudo_1.8.14p3.bb
index 6b3cd6d..b93112f 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
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-19  3:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-19  3:16 [PATCH 0/2] Fix file permission for pam configuration files Chen Qi
2015-10-19  3:16 ` [PATCH 1/2] openssh: fix file permission for /etc/pam.d/sshd Chen Qi
2015-10-19  3:16 ` [PATCH 2/2] sudo: fix file permission for /etc/pam.d/sudo Chen Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox