Re: can ping only with sudo
On 10/6/07, tom arnall <email@example.com> wrote:
> lately i inadvertently did 'chmod 777 -R /dev' on my system (as root, of
> course!). now i find that to ping anyone i have to do it as sudo, else i get:
> ping: icmp open socket: Operation not permitted
Something is odd indeed.
I attempted to run an strace (sometimes those can be useful to see
what devices and files it is trying to read - look at access() and
open() functions in particular) but I get the same error as you if I
try to do an strace on ping. Otherwise, ping runs normally.