setcap

Langue: en

Version: 26th April 1997 (ubuntu - 08/07/09)

Section: 8 (Commandes administrateur)

NAME

setcap - set file capabilities

SYNOPSIS

setcap (capabilities|-|-r) filename [ ... capabilitiesN fileN ]

DESCRIPTION

setcap sets the capabilities of each specified filename to the capabilities specified. The capabilities are specified in the form described in cap_from_text(3).

The special filename, '-', 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 option, '-r', can be used to remove a capability set from a file.

SEE ALSO

cap_from_text(3), cap_set_file(3), getcap(8)