aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-config/unicens-config/unicens-config.bb
diff options
context:
space:
mode:
authorChristian Gromm <christian.gromm@microchip.com>2017-11-28 10:57:56 +0100
committerChristian Gromm <christian.gromm@microchip.com>2017-11-28 10:59:13 +0100
commit9e152228f5948acb12c201a873d0581691a9fa74 (patch)
treee68387be3bac04cbd237cc3b2c99f2bd2672ecf4 /recipes-config/unicens-config/unicens-config.bb
parent9717d7ccd608dc7a6286c5870fe79709fed48ac1 (diff)
recipes-config: unicens-config: fix file permission
This patch changes the permission of the file unicens-config.service to 644. It is needed because an executable service file is considered a security risk. This patch fixes JIRA SPEC-1137. Change-Id: Idab5080450be358b5775ce4dbb1737f2bcd34a5f Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Reported-by: Dominig Ar Foll <dominig.arfoll@fridu.net>
Diffstat (limited to 'recipes-config/unicens-config/unicens-config.bb')
-rw-r--r--recipes-config/unicens-config/unicens-config.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-config/unicens-config/unicens-config.bb b/recipes-config/unicens-config/unicens-config.bb
index e8f5b78d9..706b2c87e 100644
--- a/recipes-config/unicens-config/unicens-config.bb
+++ b/recipes-config/unicens-config/unicens-config.bb
@@ -21,7 +21,7 @@ do_compile() {
do_install() {
install -d ${D}${systemd_system_unitdir}
- install -m 0755 ${WORKDIR}/unicens-config.service ${D}${systemd_system_unitdir}
+ install -m 0644 ${WORKDIR}/unicens-config.service ${D}${systemd_system_unitdir}
install -d ${D}${bindir}
install -m 0755 ${WORKDIR}/unicens-config.sh ${D}${bindir}
}