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 <tolvupostur@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
$(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))