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.

prints quick usage.
prints any non-zero user namespace root user ID value found to be associated with a file's capabilities.
enables recursive search.
display all searched entries, even if the have no file-capabilities.
One file per line.

Please report bugs via:

capsh(1), cap_get_file(3), cap_to_text(3), capabilities(7), user_namespaces(7), captree(8), getpcaps(8) and setcap(8).

2021-08-29