GETCAP(8) System Manager's Manual GETCAP(8)
getcap - examine file capabilities
getcap [-v] [-n] [-r] [-h] filename [ ... ]
getcap displays the name and capabilities of each specified file.
-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.
Please report bugs via: https://bugzilla.kernel.org/buglist.cgi?component=libcap&list_id=1047723&product=Tools&resolution=---
cap_get_file(3), cap_to_text(3), capabilities(7), user_namespaces(7), setcap(8)
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 firstname.lastname@example.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 email@example.com 2020-01-07 GETCAP(8)
Pages that refer to this page: capsh(1), capabilities(7), getpcaps(8), setcap(8)