From owner-freebsd-bugs Fri Dec 27 17:30:04 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id RAA21008 for bugs-outgoing; Fri, 27 Dec 1996 17:30:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id RAA21002; Fri, 27 Dec 1996 17:30:02 -0800 (PST) Resent-Date: Fri, 27 Dec 1996 17:30:02 -0800 (PST) Resent-Message-Id: <199612280130.RAA21002@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, wosch@cs.tu-berlin.de Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id RAA20965 for ; Fri, 27 Dec 1996 17:29:46 -0800 (PST) Received: from campa.panke.de (anonymous214.ppp.cs.tu-berlin.de [130.149.17.214]) by mail.cs.tu-berlin.de (8.8.4/8.8.4) with SMTP id CAA05609 for ; Sat, 28 Dec 1996 02:27:32 +0100 (MET) Received: (from wosch@localhost) by campa.panke.de (8.6.12/8.6.12) id BAA00896; Sat, 28 Dec 1996 01:41:08 +0100 Message-Id: <199612280041.BAA00896@campa.panke.de> Date: Sat, 28 Dec 1996 01:41:08 +0100 From: Wolfram Schneider Reply-To: wosch@cs.tu-berlin.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/2304: mkdir -p Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 2304 >Category: bin >Synopsis: mkdir -p >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 27 17:30:01 PST 1996 >Last-Modified: >Originator: Wolfram Schneider >Organization: >Release: FreeBSD 2.1-STABLE i386 >Environment: >Description: `mkdir -p dir' ignores the return value for the last path component. >How-To-Repeat: $ mkdir -p /var/mkdir/dir; echo $? mkdir: /var/mkdir: Permission denied 1 ok, but: $ mkdir -p /var/mkdir; echo $? 0 should be '1' and print 'Permission denied' >Fix: The bug exists since revision 1.2 mkdir.c 1994/09/08 author: jkh >Audit-Trail: >Unformatted: