[arch-general] must be root to ping?

Jesse Juhani Jaara jesse.jaara at gmail.com
Sat Jul 14 11:13:34 EDT 2012


la, 2012-07-14 kello 18:07 +0300, Mantas Mikulėnas kirjoitti:
> `/usr/bin/ping` and `ping6` must be either setuid-root (chmod u+s) or
> have the CAP_NET_RAW capability (setcap cap_net_raw+ep). The Arch
> `iputils` package normally runs `setcap` in its post-install
> script[2].

I just updated my system and got his message and now my ping is not
working as regular user.
------------------------------------------------------------------------
(10/22) päivitetään iputils [#####################################] 100%

Failed to set capabilities on file `usr/bin/ping'
(Operation not supported)
usage: setcap [-q] [-v] (-r|-|<caps>) <filename>
[ ... (-r|-|<capsN>) <filenameN> ]

 Note <filename> must be a regular (non-symlink) file.
Failed to set capabilities on file `usr/bin/ping6'
(Operation not supported)
usage: setcap [-q] [-v] (-r|-|<caps>) <filename>
[ ... (-r|-|<capsN>) <filenameN> ]

 Note <filename> must be a regular (non-symlink) file.
 >> Traceroute is now provided by core/traceroute
------------------------------------------------------------------------

Running "sudo setcap cap_net_raw+ep /usr/bin/ping" manually results in
the same (Operation not supported) error.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20120714/5b182f57/attachment.asc>


More information about the arch-general mailing list