File: setcap.8

package info (click to toggle)
libcap 1.92-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 312 kB
  • ctags: 172
  • sloc: ansic: 1,294; makefile: 152; sh: 5
file content (27 lines) | stat: -rw-r--r-- 680 bytes parent folder | download
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 1999/05/01 23:04:22 morgan 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)