Date: Sat, 30 Jun 2001 13:24:13 -0700 (PDT) From: rfg@monkeys.com To: FreeBSD-gnats-submit@freebsd.org Subject: docs/28553: EACCES result for mkdir(2) not completely documented Message-ID: <20010630202413.AFDAA4DA76@segfault.monkeys.com>
next in thread | raw e-mail | index | archive | help
>Number: 28553 >Category: docs >Synopsis: EACCES result for mkdir(2) not completely documented >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 30 13:30:01 PDT 2001 >Closed-Date: >Last-Modified: >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: >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?20010630202413.AFDAA4DA76>