Package Details: mtr-git v0.93.r36.gb4d3983-1

Git Clone URL: (read-only, click to copy)
Package Base: mtr-git
Description: Combines the functionality of traceroute and ping into one tool (CLI version, git)
Upstream URL:
Licenses: GPL
Conflicts: mtr
Provides: mtr
Submitter: Narthorn
Maintainer: Narthorn
Last Packager: Narthorn
Votes: 4
Popularity: 0.000000
First Submitted: 2015-10-12 11:17
Last Updated: 2020-02-08 05:17

Required by (3)

Sources (1)

Latest Comments

Narthorn commented on 2016-06-10 17:25

Hey, thanks for the heads-up ! I added a post-install script to set the capability.

There was a pacman patch ( that was supposed to let makepkg retain the file capabilities during packaging, but it apparently never made it into the main build.

zorun commented on 2016-06-09 12:56


A recent commit has switched from setuid root to a capability:

However, it does not seem to work on my system:

$ mtr
mtr: unable to get raw sockets.

According to the capability is missing:

$ getcap /usr/bin/ping
/usr/bin/ping = cap_net_raw+ep
$ getcap /usr/bin/mtr

So, the binary has no capability and is no longer setuid root, so it does not have enough permissions to work as non-root. Is it possible that makepkg removes capabilities when packaging? A workaround would be to add the capability in a post-install script.