From 346c65dd6855106069d1861ca965d3121eb084d1 Mon Sep 17 00:00:00 2001 From: Kai Kang Date: Sat, 27 May 2017 15:45:03 +0800 Subject: lsof: clear setuid Having 'lsof' as a +s (setuid) binary could lead to security issues if a compromise in the binary is found. It is better that it be -s by default as a precaution. Signed-off-by: Kai Kang Signed-off-by: Richard Purdie --- meta/recipes-extended/lsof/lsof_4.89.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/lsof/lsof_4.89.bb b/meta/recipes-extended/lsof/lsof_4.89.bb index b732cf0acd..650b34c7e2 100644 --- a/meta/recipes-extended/lsof/lsof_4.89.bb +++ b/meta/recipes-extended/lsof/lsof_4.89.bb @@ -53,6 +53,6 @@ do_compile () { do_install () { install -d ${D}${sbindir} ${D}${mandir}/man8 - install -m 4755 lsof ${D}${sbindir}/lsof + install -m 0755 lsof ${D}${sbindir}/lsof install -m 0644 lsof.8 ${D}${mandir}/man8/lsof.8 } -- cgit 1.2.3-korg