summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Morris2018-03-06 18:05:38 +0100
committerSam Morris2018-03-06 18:05:38 +0100
commit35e953e04a896e1ac6f75b8f54dfc3531d70eee3 (patch)
tree69aeddfeefefc3c6756ea49eaaa577512a1e0d53
parentlibmount: fix fs pattern usage in mount --all (diff)
downloadkernel-qcow2-util-linux-35e953e04a896e1ac6f75b8f54dfc3531d70eee3.tar.gz
kernel-qcow2-util-linux-35e953e04a896e1ac6f75b8f54dfc3531d70eee3.tar.xz
kernel-qcow2-util-linux-35e953e04a896e1ac6f75b8f54dfc3531d70eee3.zip
setpriv: fix manpage typo
The example given in the man page didn't work. Judging by commit db663995bd93e170a43b1a7050c7a738782dabfb, --inh-caps= used to be called --caps= but the man page was not updated after the change was made.
-rw-r--r--sys-utils/setpriv.12
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/setpriv.1 b/sys-utils/setpriv.1
index 75dadeca8..f7f3f572a 100644
--- a/sys-utils/setpriv.1
+++ b/sys-utils/setpriv.1
@@ -111,7 +111,7 @@ does not change capabilities, although the exec call at the end might change
capabilities. This means that, if you are root, you probably want to do
something like:
.sp
-.B " setpriv \-\-reuid=1000 \-\-regid=1000 \-\-caps=\-all"
+.B " setpriv \-\-reuid=1000 \-\-regid=1000 \-\-inh\-caps=\-all"
.TP
.BR \-\-securebits " (" + | \- ) \fIsecurebit ...
Set or clear securebits. The argument is a comma-separated list.