getcap(8) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | REPORTING BUGS | SEE ALSO | COLOPHON

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-
           capabilities.

       filename
           One file per line.

REPORTING BUGS         top

       Please report bugs via:

       https://bugzilla.kernel.org/buglist.cgi?component=libcap&list_id=1047723&product=Tools&resolution=---

SEE ALSO         top

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

COLOPHON         top

       This page is part of the libcap (capabilities commands and
       library) project.  Information about the project can be found at
       ⟨https://git.kernel.org/pub/scm/libs/libcap/libcap.git/⟩.  If you
       have a bug report for this manual page, send it to
       morgan@kernel.org (please put "libcap" in the Subject line).
       This page was obtained from the project's upstream Git repository
       ⟨https://git.kernel.org/pub/scm/libs/libcap/libcap.git/⟩ on
       2021-08-27.  (At that time, the date of the most recent commit
       that was found in the repository was 2021-08-25.)  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 man-pages@man7.org

                               2020-01-07                      GETCAP(8)

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