]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
setpriv: fix manpage typo
authorSam Morris <sam@robots.org.uk>
Tue, 6 Mar 2018 17:05:38 +0000 (17:05 +0000)
committerSam Morris <sam@robots.org.uk>
Tue, 6 Mar 2018 17:05:38 +0000 (17:05 +0000)
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.

sys-utils/setpriv.1

index 75dadeca8652467b8879c64474b1d86ce28ca0a9..f7f3f572aeb5d6fe649339e56878da24bd92b852 100644 (file)
@@ -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.