Listings Question About Ping

Richard Heck rgheck at comcast.net
Fri Dec 23 04:55:07 UTC 2011


On 12/22/2011 03:33 PM, Michael Cronenworth wrote:
> Richard Heck wrote:
>> When I do:
>>      ls /bin/ping
>> I get "ping" displayed with black text on a red background. I don't see
>> anything special about its permissions. What's up?
>
> Fedora switched[1] from using the suid-bit to capabilities. If you 
> wish to see capabilities you can run "getcap" on the file.
>
> $ getcap /bin/ping
>
> [1] http://fedoraproject.org/wiki/Features/RemoveSETUID
>
Thanks. I did eventually figure this out. Unfortunately, there doesn't 
seem to be much documentation about this particular set of colors, 
though it is reminiscent of what happens with e.g. mount and umount.

Richard




More information about the users mailing list