ping: socket: Operation not permitted

$ ping 8.8.8.8 ping: socket: Operation not permitted
# setcap cap_net_admin,cap_net_raw+p /bin/ping
# getcap /bin/ping /bin/ping = cap_net_admin,cap_net_raw+p
$ ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.