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:08:56 +0100
commit917789ab3c61784ca7b3cdef6b76ff091abcf8c1 (patch)
treee4ae9556d158bcd3ee54e7f6a2996c7deadfbe66 /meta
parent526188096bc37af3140c9210ece92ed94c3bdfe0 (diff)
downloadopenembedded-core-917789ab3c61784ca7b3cdef6b76ff091abcf8c1.tar.gz
openembedded-core-917789ab3c61784ca7b3cdef6b76ff091abcf8c1.tar.bz2
openembedded-core-917789ab3c61784ca7b3cdef6b76ff091abcf8c1.zip
busybox: rcS and rcK should not be writeable by everyone
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