[meta-security][PATCH] arpwatch: fix wrong init script permissions
"Xiaozhan Li" <[email protected]>
| Newsgroups | org.yoctoproject.lists.yocto-patches |
|---|---|
| Message-ID | <[email protected]> |
The permission in "install -m 655 ${UNPACKDIR}/arpwatch_init ${D}${sysconfdir}/init.d/arpwatch"
should be changed to 755.
Signed-off-by: Xiaozhan Li <[email protected]>
---
recipes-scanners/arpwatch/arpwatch_3.3.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes-scanners/arpwatch/arpwatch_3.3.bb b/recipes-scanners/arpwatch/arpwatch_3.3.bb
index 3ab5993..3769706 100644
--- a/recipes-scanners/arpwatch/arpwatch_3.3.bb
+++ b/recipes-scanners/arpwatch/arpwatch_3.3.bb
@@ -65,7 +65,7 @@ do_install () {
oe_runmake install DESTDIR=${D}
install -m 644 ${UNPACKDIR}/arpwatch.conf ${D}${sysconfdir}
- install -m 655 ${UNPACKDIR}/arpwatch_init ${D}${sysconfdir}/init.d/arpwatch
+ install -m 755 ${UNPACKDIR}/arpwatch_init ${D}${sysconfdir}/init.d/arpwatch
install -m 644 ${UNPACKDIR}/arpwatch.default ${D}${sysconfdir}/default
}
--
2.43.0