Re: why does "ls -l /usr/bin/ping" render in color normally used for setuid executables?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 4 Jan 2020, Mamoru TASAKA wrote:

> Robert P. J. Day wrote on 2020/01/04 23:34:
> > On Sat, 4 Jan 2020, Robert P. J. Day wrote:
> >
> >>
> >>    i'm puzzled by something i just tripped over on my fully-updated f31
> >> system ... while mucking around with some networking, i happened to
> >> run:
> >>
> >>    $ ls -l /usr/bin/ping
> >>
> >> and was surprised to see it rendered in the colour scheme (yellow
> >> letters on red background) normally reserved for setuid executables. i
> >> looked closer but saw nothing amiss:
> >>
> >>    $ ls -l /usr/bin/ping
> >>    -rwxr-xr-x. 1 root root 83136 Jul 25 13:28 /usr/bin/ping
> >>    $
> >>
> >> running "lsattr" on that executable didn't seem to show anything
> >> unusual, and all of the other executables under /usr/bin that are
> >> rendered in that colour scheme are, indeed, setuid. am i
> >> misunderstanding something really trivial?
> >
> >    oh, wait, this is a capabilities thing, isn't it?
> >
>
> Exactly. You can check this by
> $ getcap /usr/bin/ping

  yes, i twigged to that shortly after asking ... i was just thrown
that that seems to be the only /usr/bin executable with that property,
which confused me.

rday
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux