In the absence of the -v (verify) option setcap sets the capabilities
of each specified filename to the capabilities specified. The -v
option is used to verify that the specified capabilities are
currently associated with the file.
The capabilities are specified in the form described in
The special capability string, '-', can be used to indicate that
capabilities are read from the standard input. In such cases, the
capability set is terminated with a blank line.
The special capability string, '-r', is used to remove a capability
set from a file.
The -q flag is used to make the program less verbose in its output.
This page is part of the libcap (capabilities commands and library)
project. Information about the project can be found at
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
2015-01-22. If you discover any rendering problems in this HTML ver‐
sion 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 man‐
ual page), send a mail to email@example.com
24th October 2008 SETCAP(8)