Scroll to navigation

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

NAME

getcap - examine file capabilities

SYNOPSIS

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

DESCRIPTION

getcap displays the name and capabilities of each specified file.

OPTIONS

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.

REPORTING BUGS

Please report bugs via:

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

SEE ALSO

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

2020-01-07