SUMMARY: Re: Error "ping: socket: Permission denied"

From: Michael Haggerty <mhagger_at_blizzard.harvard.edu>
Date: Fri, 08 Jan 1999 00:17:59 +0000

I was getting "Permission denied" error messages when I ran ping, even
as root.

Although ping was still suid, its owner had accidentally been changed
from root to some random user. So even when run by root, it ran with
the privileges of the normal user. I have chowned it back to root and
now everything is back to normal.

Thanks to Andy Walden for putting me on the right track.

Michael

Here is the original message:

> Lately ping has stopped working on one of our Digital Unix 4.0
> systems, giving the following error message:
>
> # ping blizzard
> ping: socket: Permission denied
>
> The error occurs regardless of which machine is pinged, or which user
> runs ping (normal user or root). Pinging the problematic machine from
> elsewhere works normally, as does ping from our other
> similarly-configured machines. The problem was not fixed by
> rebooting.

--
Michael Haggerty
mhagger_at_blizzard.harvard.edu
Received on Fri Jan 08 1999 - 00:18:46 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT