From owner-freebsd-audit Thu Jun 28 14:52:55 2001 Delivered-To: freebsd-audit@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id 5556C37B405; Thu, 28 Jun 2001 14:52:49 -0700 (PDT) (envelope-from dima@unixfreak.org) Received: from hornet.unixfreak.org (hornet [63.198.170.140]) by bazooka.unixfreak.org (Postfix) with ESMTP id 5D8A93E2F; Thu, 28 Jun 2001 14:52:48 -0700 (PDT) To: Yar Tikhiy Cc: audit@freebsd.org Subject: Re: mkdir(1) on "-p" In-Reply-To: <20010628131652.A46436@comp.chem.msu.su>; from yar@freebsd.org on "Thu, 28 Jun 2001 13:16:53 +0400" Date: Thu, 28 Jun 2001 14:52:48 -0700 From: Dima Dorfman Message-Id: <20010628215248.5D8A93E2F@bazooka.unixfreak.org> Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Yar Tikhiy writes: > Hi there, > > The FreeBSD mkdir(1) manpage appears not to say a single word on > what happens if the "-p" option is specified to mkdir and a final > directory exists. The fix follows. Please review it for possible > grammar/style slips. > > -- > Yar > > Index: mkdir.1 > =================================================================== > RCS file: /home/ncvs/src/bin/mkdir/mkdir.1,v > retrieving revision 1.13 > diff -u -r1.13 mkdir.1 > --- mkdir.1 2000/11/20 11:39:38 1.13 > +++ mkdir.1 2001/06/27 17:50:13 > @@ -73,6 +73,8 @@ > Create intermediate directories as required. > If this option is not specified, the full path prefix of each > operand must already exist. > +On the other hand, with this option specified, no error will > +be reported if a directory given as an operand already exists. > Intermediate directories are created with permission bits of > .Li rwxrwxrwx (\&0777) > as modified by the current umask, plus write and search > @@ -81,7 +83,8 @@ > Be verbose when creating directories, listing them as they are created. > .El > .Pp > -The user must have write permission in the parent directory. > +The user must have write permission on the parent directory ^^^^ Perhaps "to" would be better? Other than that, looks okay. Dima Dorfman dima@unixfreak.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message