From owner-freebsd-stable Wed Feb 27 16:57:34 2002 Delivered-To: freebsd-stable@freebsd.org Received: from horsey.gshapiro.net (horsey.gshapiro.net [209.220.147.178]) by hub.freebsd.org (Postfix) with ESMTP id BFA5837B405 for ; Wed, 27 Feb 2002 16:57:30 -0800 (PST) Received: from horsey.gshapiro.net (gshapiro@localhost [IPv6:::1]) by horsey.gshapiro.net (8.12.2/8.12.3.PreAlpha0) with ESMTP id g1S0vUuY081626 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 27 Feb 2002 16:57:30 -0800 (PST) Received: (from gshapiro@localhost) by horsey.gshapiro.net (8.12.2/8.12.2/Submit) id g1S0vTRu081623; Wed, 27 Feb 2002 16:57:29 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15485.32889.596643.502952@horsey.gshapiro.net> Date: Wed, 27 Feb 2002 16:57:29 -0800 From: Gregory Neil Shapiro To: Steve Ames Cc: freebsd-stable@FreeBSD.ORG Subject: Re: mkdir glitch? In-Reply-To: <200202280054.g1S0seWT013420@virtual-voodoo.com> References: <200202280054.g1S0seWT013420@virtual-voodoo.com> X-Mailer: VM 7.00 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid 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 steve> Am I being obtuse here? steve> saiya# mkdir -p /usr/local/www/cgi-bin.default/sqwebmail steve> mkdir: /usr/local/www/cgi-bin.default/sqwebmail: File exists steve> I thought the '-p' option would not return an error if the steve> directory already exists? Are you sure sqwebmail isn't a file? Keep in mind the error is *file* exists, not directory. /home/gshapiro> ls -lagd /home/gshapiro/Work /home/gshapiro/Work/todo drwx-----x 2 gshapiro gshapiro 512 Feb 27 10:43 /home/gshapiro/Work -rw-r--r-- 1 gshapiro gshapiro 163 Feb 24 10:45 /home/gshapiro/Work/todo /home/gshapiro> mkdir -p /home/gshapiro/Work /home/gshapiro> mkdir -p /home/gshapiro/Work/todo mkdir: /home/gshapiro/Work/todo: File exists Looks to me like it is doing the right thing. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message