Commit 371d7e84 authored by Einar Jon Gunnarsson's avatar Einar Jon Gunnarsson Committed by Peter Korsgaard
Browse files

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: default avatarEinar Jon Gunnarsson <tolvupostur@gmail.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit b0e2d00289eeb1a7201ba49e5cedfd3175f92140)
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 0cf9b6ce
......@@ -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))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment