Bug 467944 - ping : permission denied
Summary: ping : permission denied
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-21 19:42 UTC by Edwin Schepers
Modified: 2008-10-23 18:49 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-23 18:49:08 UTC


Attachments (Terms of Use)

Description Edwin Schepers 2008-10-21 19:42:16 UTC
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

Comment 1 Miroslav Grepl 2008-10-21 23:07:36 UTC
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.

Comment 2 Daniel Walsh 2008-10-22 13:55:48 UTC
Edwin,  Are you using confined users?

id -Z

Comment 3 Edwin Schepers 2008-10-23 15:57:08 UTC
bash-3.2$ id -Z
unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023

Is that good or bad?

Comment 4 Daniel Walsh 2008-10-23 18:49:08 UTC
Good, is the suid bit for ping set?

chmod 4755 /bin/ping

Should fix.

This is not an SELinux bug.


Note You need to log in before you can comment on or make changes to this bug.