[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] document the -p invocation flag

From: Chet Ramey
Subject: Re: [PATCH] document the -p invocation flag
Date: Thu, 11 Jun 2015 18:39:39 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

On 6/10/15 9:27 AM, Adam Endrodi wrote:
> --- bash-4.2/doc/bash.1.orig  2015-06-10 15:09:04.000000000 +0200
> +++ bash-4.2/doc/bash.1       2015-06-10 15:19:55.000000000 +0200
> @@ -117,6 +117,18 @@
>  This option allows the positional parameters to be set
>  when invoking an interactive shell.
>  .TP
> +.B \-p
> +If the
> +.B \-p
> +is
> +.B not
> +present and the real and effective user or group IDs mismatch on startup,
> +the effective user and group IDs are set to the real ones.  This behavior
> +can be disabled with this flag, but see 
> +.SM
> +for notes about setuid invocation.

The `-p' option is documented with the rest of the shell options in the
description of the `set' builtin.  It is not an option that's only
valid at invocation time, so it's not documented in the OPTIONS
section.  The INVOCATION section contains essentially the text above,
plus a description of the other effects it has at startup.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]