File: setcap.8

package info (click to toggle)
libcap2 0.cvs.20010529-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 496 kB
  • ctags: 240
  • sloc: ansic: 1,606; makefile: 147
file content (27 lines) | stat: -rw-r--r-- 682 bytes parent folder | download | duplicates (2)
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
.\"
.\" $Id: setcap.8,v 1.1.2.1 2000/07/10 03:38:07 agmorgan Exp $
.\"
.TH SETCAP 8 "26th April 1997"
.SH NAME
setcap \- set file capabilities
.SH SYNOPSIS
\fBsetcap\fP \fIcapabilities filename\fP [ ... \fIcapabilitiesN\fP \fIfileN\fP ]
.SH DESCRIPTION
.B setcap
sets the capabilities of each specified
.I filename
to the
.I capabilities
specified.  The
.I capabilities
are specified in the form described in
.IR cap_from_text (3).
.PP
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.
.SH "SEE ALSO"
.IR cap_from_text (3),
.IR cap_set_file (3),
.IR getcap (8)