From rfg@monkeys.com  Sat Jun 30 13:24:14 2001
Return-Path: <rfg@monkeys.com>
Received: from segfault.monkeys.com (236.dsl9226.surewest.net [63.92.26.236])
	by hub.freebsd.org (Postfix) with ESMTP id 35C2637B405
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 30 Jun 2001 13:24:14 -0700 (PDT)
	(envelope-from rfg@monkeys.com)
Received: by segfault.monkeys.com (Postfix, from userid 1237)
	id AFDAA4DA76; Sat, 30 Jun 2001 13:24:13 -0700 (PDT)
Message-Id: <20010630202413.AFDAA4DA76@segfault.monkeys.com>
Date: Sat, 30 Jun 2001 13:24:13 -0700 (PDT)
From: rfg@monkeys.com
Reply-To: rfg@monkeys.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: EACCES result for mkdir(2) not completely documented
X-Send-Pr-Version: 3.2

>Number:         28553
>Category:       docs
>Synopsis:       EACCES result for mkdir(2) not completely documented
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dd
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 30 13:30:01 PDT 2001
>Closed-Date:    Wed Jul 18 23:01:12 PDT 2001
>Last-Modified:  Wed Jul 18 23:01:19 PDT 2001
>Originator:     Ronald F. Guilmette
>Release:        FreeBSD 4.2-RELEASE i386
>Organization:
Infinite Monkeys & co.
>Environment:


>Description:

	The ERRORS section of the man page for mkdir(2) fails to mention
	that mkdir(2) will fail, return a -1, and yield an EACCES errno
	result when and if the user executing the call to mkdir(2) lacks
	write permission for the directory that would contain the directory
	to be created.

>How-To-Repeat:

	man 2 mkdir

>Fix:

	Change the [EACCES] part of the errors section to read as follows:

	[EACCES]	Search permission is denied for a component of the
			path prefix, or write permission is denied for the
			directory that would immediately contain the new
			directory to be created.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: dd 
State-Changed-When: Mon Jul 2 15:53:43 PDT 2001 
State-Changed-Why:  
Fixed but slightly differently, thanks! 


Responsible-Changed-From-To: freebsd-doc->dd 
Responsible-Changed-By: dd 
Responsible-Changed-When: Mon Jul 2 15:53:43 PDT 2001 
Responsible-Changed-Why:  
My MFC reminder. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=28553 
State-Changed-From-To: analyzed->closed 
State-Changed-By: dd 
State-Changed-When: Wed Jul 18 23:01:12 PDT 2001 
State-Changed-Why:  
MFC'd, thanks. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=28553 
>Unformatted:
