The zsh/cap
module is used for manipulating POSIX.1e (POSIX.6) capability
sets. If the operating system does not support this interface, the
builtins defined by this module will do nothing.
The builtins in this module are:
cap
[ capabilities ]Change the shell’s process capability sets to the specified capabilities, otherwise display the shell’s current capabilities.
getcap
filename ...This is a built-in implementation of the POSIX standard utility. It displays the capability sets on each specified filename.
setcap
capabilities filename ...This is a built-in implementation of the POSIX standard utility. It sets the capability sets on each specified filename to the specified capabilities.