Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Apr 2000 01:40:57 GMT
From:      mellon@pobox.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/18243: a mistake in sh.1
Message-ID:  <200004270140.BAA95539@happy.checkpoint.com>

next in thread | raw e-mail | index | archive | help

>Number:         18243
>Category:       docs
>Synopsis:       wrong description of -p option in sh(1) manpage
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 26 15:50:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Anatoly Vorobey
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:

	-CURRENT

>Description:

A simple mistake in the manpage of sh(1). The patch below
is self-explanatory. The relevant code handling the option is in
bin/sh/options.s

>How-To-Repeat:

>Fix:

--- sh.1.old	Thu Apr 27 01:33:32 2000
+++ sh.1	Thu Apr 27 01:37:44 2000
@@ -229,7 +229,7 @@
 .It Fl p Li privileged
 Turn on privileged mode.  This mode is enabled on startup
 if either the effective user or group id is not equal to the
-real user or group id.  Turning this mode off sets the
+real user or group id.  Turning this mode on sets the
 effective user and group ids to the real user and group ids.
 When this mode is enabled for interactive shells, the file
 .Pa /etc/suid_profile





>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004270140.BAA95539>