Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I run ping program I get the following error:

sendto: Permission denied even though I had done su.

What could be the possible reason?

Thanks in advance

share|improve this question

I think you may have changed accidentally the configurations of user and root.
Would you please try this:

sudo apt-get update && sudo apt-get install aptitude && sudo aptitude purge ping && sudo aptitude install ping
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.