From: Ivana Hutarova Varekova Date: Sat, 12 May 2012 16:21:10 +0000 (+0200) Subject: cgcreate.1: -s option problem X-Git-Tag: v0.41~116 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bac314425814252e502fd69c991882e80f91e6b;p=thirdparty%2Flibcgroup.git cgcreate.1: -s option problem cgcreate.1 man page have bogus -s description this patch fixes it Signed-off-by: Ivana Hutarova Varekova Acked-By: Jan Safranek --- diff --git a/doc/man/cgcreate.1 b/doc/man/cgcreate.1 index 5bab19a2..3e8fe227 100644 --- a/doc/man/cgcreate.1 +++ b/doc/man/cgcreate.1 @@ -5,9 +5,9 @@ cgcreate \- create new cgroup(s) .SH SYNOPSIS -\fBcgcreate\fR [\fB-h\fR] [\fB-s\fR] [\fB-t\fR <\fItuid>:] +\fBcgcreate\fR [\fB-h\fR] [\fB-t\fR <\fItuid>:] [\fB-a\fR <\fIagid>:] [\fB-f\fR mode] [\fB-d\fR mode] -\fB-g\fR <\fIcontrollers>: [\fB-g\fR ...] +[\fB-s\fR mode] \fB-g\fR <\fIcontrollers>: [\fB-g\fR ...] .SH DESCRIPTION The command creates new cgroup(s) defined by the options @@ -51,7 +51,7 @@ display this help and exit .B -s, --tperm=mode sets the permissions of the control group tasks file. The permissions needs to be specified as octal numbers e.g. -\fB-f 775\fR. +\fB-s 775\fR. The value is not used as given because the current owner's permissions are used as an umask (so 777 will set group and others permissions to the owners permissions).