From owner-freebsd-stable Wed Feb 27 17:12:24 2002 Delivered-To: freebsd-stable@freebsd.org Received: from virtual-voodoo.com (bdsl.66.12.217.106.gte.net [66.12.217.106]) by hub.freebsd.org (Postfix) with ESMTP id 1DBD437B405 for ; Wed, 27 Feb 2002 17:12:13 -0800 (PST) Received: from virtual-voodoo.com (steve@localhost [127.0.0.1]) by virtual-voodoo.com (8.12.2/8.12.2) with ESMTP id g1S1CCPG008520; Wed, 27 Feb 2002 20:12:12 -0500 (EST) (envelope-from steve@virtual-voodoo.com) Received: (from steve@localhost) by virtual-voodoo.com (8.12.2/8.12.2/Submit) id g1S1CCMZ006879; Wed, 27 Feb 2002 20:12:12 -0500 (EST) Date: Wed, 27 Feb 2002 20:12:12 -0500 From: Steve Ames To: Phil Homewood Cc: freebsd-stable@freebsd.org Subject: Re: mkdir glitch? Message-ID: <20020228011212.GA70401@virtual-voodoo.com> References: <200202280054.g1S0seWT013420@virtual-voodoo.com> <20020228005753.GB392@luggage> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020228005753.GB392@luggage> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Feb 28, 2002 at 10:57:53AM +1000, Phil Homewood wrote: > Steve Ames wrote: > > saiya# mkdir -p /usr/local/www/cgi-bin.default/sqwebmail > > mkdir: /usr/local/www/cgi-bin.default/sqwebmail: File exists > > > > I thought the '-p' option would not return an error if the > > directory already exists? > > It won't. But if a _file_ exists..... Doh! *wanders off to hide head in corner* -Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message