From: Einar Jon Gunnarsson Date: Sat, 13 Jan 2018 20:19:42 +0000 (+0100) Subject: iputils: fix ping and traceroute6 executable permissions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b0e2d00289eeb1a7201ba49e5cedfd3175f92140;p=buildroot.git iputils: fix ping and traceroute6 executable permissions The iputils executables are installed without the setuid bit set, which prevents some programs from working. This patch adds a permission table to fix the permissions of the ping and traceroute6 executables. Signed-off-by: Einar Jon Gunnarsson Signed-off-by: Thomas Petazzoni --- diff --git a/package/iputils/iputils.mk b/package/iputils/iputils.mk index b20cd12b7a..13e33898d6 100644 --- a/package/iputils/iputils.mk +++ b/package/iputils/iputils.mk @@ -69,4 +69,9 @@ define IPUTILS_INSTALL_TARGET_CMDS $(INSTALL) -D -m 755 $(@D)/traceroute6 $(TARGET_DIR)/bin/traceroute6 endef +define IPUTILS_PERMISSIONS + /bin/ping f 4755 0 0 - - - - - + /bin/traceroute6 f 4755 0 0 - - - - - +endef + $(eval $(generic-package))