Red Hat Bugzilla – Bug 467944
ping : permission denied
Last modified: 2008-10-23 14:49:08 EDT
Description of problem: When I 'ping www.google.com' I get the message : ping: icmp open socket: Permission denied (translated) Using root gives no problem. Using a normal user gives the error
This problem is still lasting with both the permissive mode and the enforce mode. There is SUID bit for ping missing. Then everything is all right.
Edwin, Are you using confined users? id -Z
bash-3.2$ id -Z unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 Is that good or bad?
Good, is the suid bit for ping set? chmod 4755 /bin/ping Should fix. This is not an SELinux bug.