[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: can ping only with sudo

On 10/6/07, tom arnall <kloro2006@gmail.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.

Reply to: