getcap(8) — Linux manual page


GETCAP(8)                  System Manager's Manual                 GETCAP(8)

NAME         top

       getcap - examine file capabilities

SYNOPSIS         top

       getcap [-v] [-n] [-r] [-h] filename [ ... ]

DESCRIPTION         top

       getcap displays the name and capabilities of each specified file.

OPTIONS         top

       -h  prints quick usage.

       -n  prints any non-zero user namespace root user ID value found to be
           associated with a file's capabilities.

       -r  enables recursive search.

       -v  display all searched entries, even if the have no file-

           One file per line.

REPORTING BUGS         top

       Please report bugs via:

SEE ALSO         top

       cap_get_file(3), cap_to_text(3), capabilities(7), user_namespaces(7),

COLOPHON         top

       This page is part of the libcap (capabilities commands and library)
       project.  Information about the project can be found at 
       ⟨⟩.  If you have
       a bug report for this manual page, send it to
       (please put "libcap" in the Subject line).  This page was obtained
       from the project's upstream Git repository
       ⟨⟩ on
       2020-11-01.  (At that time, the date of the most recent commit that
       was found in the repository was 2020-10-28.)  If you discover any
       rendering problems in this HTML version of the page, or you believe
       there is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to

                                 2020-01-07                        GETCAP(8)

Pages that refer to this page: capsh(1)capabilities(7)getpcaps(8)setcap(8)