From: Sam Morris Date: Tue, 6 Mar 2018 17:05:38 +0000 (+0000) Subject: setpriv: fix manpage typo X-Git-Tag: v2.32~49^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35e953e04a896e1ac6f75b8f54dfc3531d70eee3;p=thirdparty%2Futil-linux.git 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. --- diff --git a/sys-utils/setpriv.1 b/sys-utils/setpriv.1 index 75dadeca86..f7f3f572ae 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.