summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2019-09-16 12:24:23 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-18 12:09:02 +0100
commit8f38568a6450856e9335a8e7d49c84ecfc7ada9e (patch)
tree34720d67d958928d60c023d3e706e444a7b0a0ff /meta
parentf2b682e0016210e3a1f9dd1b09590d3ea5a73d50 (diff)
downloadpoky-8f38568a6450856e9335a8e7d49c84ecfc7ada9e.tar.gz
poky-8f38568a6450856e9335a8e7d49c84ecfc7ada9e.tar.bz2
poky-8f38568a6450856e9335a8e7d49c84ecfc7ada9e.zip
busybox: rcS and rcK should not be writeable by everyone
(From OE-Core rev: 917789ab3c61784ca7b3cdef6b76ff091abcf8c1) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/busybox/busybox.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index 956cccac61..d08fa8d3d9 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -319,8 +319,8 @@ do_install () {
fi
fi
if grep -q "CONFIG_INIT=y" ${B}/.config; then
- install -D -m 0777 ${WORKDIR}/rcS ${D}${sysconfdir}/init.d/rcS
- install -D -m 0777 ${WORKDIR}/rcK ${D}${sysconfdir}/init.d/rcK
+ install -D -m 0755 ${WORKDIR}/rcS ${D}${sysconfdir}/init.d/rcS
+ install -D -m 0755 ${WORKDIR}/rcK ${D}${sysconfdir}/init.d/rcK
fi
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then