From owner-freebsd-doc Wed Apr 26 15:50: 7 2000 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E68F537BA73 for ; Wed, 26 Apr 2000 15:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA94918; Wed, 26 Apr 2000 15:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from happy.checkpoint.com (happy.checkpoint.com [199.203.156.41]) by hub.freebsd.org (Postfix) with ESMTP id 1DF1837BA73 for ; Wed, 26 Apr 2000 15:40:50 -0700 (PDT) (envelope-from mellon@happy.checkpoint.com) Received: (from mellon@localhost) by happy.checkpoint.com (8.9.3/8.9.3) id BAA95539; Thu, 27 Apr 2000 01:40:57 GMT (envelope-from mellon) Message-Id: <200004270140.BAA95539@happy.checkpoint.com> Date: Thu, 27 Apr 2000 01:40:57 GMT From: mellon@pobox.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: docs/18243: a mistake in sh.1 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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