diff options
| author | Einar Jon Gunnarsson <tolvupostur@gmail.com> | 2018-01-13 21:19:42 +0100 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2018-01-17 23:22:52 +0100 |
| commit | b0e2d00289eeb1a7201ba49e5cedfd3175f92140 (patch) | |
| tree | 9cf28e7705d1563d0d389895ee1fd33d17eab4cd /package/iputils | |
| parent | ece9385523351d20e314bddc1f277aef8de7fb40 (diff) | |
| download | buildroot-b0e2d00289eeb1a7201ba49e5cedfd3175f92140.tar.gz buildroot-b0e2d00289eeb1a7201ba49e5cedfd3175f92140.zip | |
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 <tolvupostur@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/iputils')
| -rw-r--r-- | package/iputils/iputils.mk | 5 |
1 files changed, 5 insertions, 0 deletions
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)) |

