Bug 28553

Summary: EACCES result for mkdir(2) not completely documented
Product: Documentation Reporter: Ronald F. Guilmette <rfg>
Component: Books & ArticlesAssignee: dd <dd>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Ronald F. Guilmette 2001-06-30 21:30:01 UTC
	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.

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.
How-To-Repeat: 
	man 2 mkdir
Comment 1 dd freebsd_committer freebsd_triage 2001-07-02 23:53:43 UTC
State Changed
From-To: open->analyzed

Fixed but slightly differently, thanks! 


Comment 2 dd freebsd_committer freebsd_triage 2001-07-02 23:53:43 UTC
Responsible Changed
From-To: freebsd-doc->dd

My MFC reminder.
Comment 3 dd freebsd_committer freebsd_triage 2001-07-19 07:01:12 UTC
State Changed
From-To: analyzed->closed

MFC'd, thanks.