Dr Andrew Scott G7VAV

My photo
 
April 2024
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 1 2 3 4 5
6 7 8 9 10 11 12


SETCAP

Section: Maintenance Commands (8)
Updated: 24th October 2008
Index Return to Main Contents
 

NAME

setcap - set file capabilities  

SYNOPSIS

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

DESCRIPTION

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 cap_from_text(3).

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.  

EXIT CODE

The setcap program will exit with a 0 exit code if successful. On failure, the exit code is 1.  

SEE ALSO

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXIT CODE
SEE ALSO


for client 18.217.116.183
© Andrew Scott 2006 - 2024,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/