From 35e953e04a896e1ac6f75b8f54dfc3531d70eee3 Mon Sep 17 00:00:00 2001 From: Sam Morris Date: Tue, 6 Mar 2018 17:05:38 +0000 Subject: [PATCH] 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. --- sys-utils/setpriv.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.47.3