From owner-freebsd-stable@FreeBSD.ORG Wed Sep 26 20:31:16 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C456E16A46B for ; Wed, 26 Sep 2007 20:31:16 +0000 (UTC) (envelope-from fbsdlists@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id 8A7AA13C46A for ; Wed, 26 Sep 2007 20:31:16 +0000 (UTC) (envelope-from fbsdlists@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so2985279waf for ; Wed, 26 Sep 2007 13:31:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=mkmXES5J5A1aE9li7tbw9PZQKG9vfv/nXRogfjcHfAc=; b=McMHthPA581Sd3oH1HOkWjHVtlldB3y0NsA7i0tMz8q2Sgdfm0AvZa+hD6eSqTKn2noFBbhtBDY+L9HWa9hxedpxvmicTwIlDkbn70syXpPj+wLwJsJfm7ME5rlo2U8a+s91herEg2V5ciaeQh7sEDJSCVq4Pj5r3Ne4JLUnL5c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DGjTF0T5GeDn+L3kbfO7Hls/3INQZqkyG8gCT3qDrON+gCDmr0p1G7F5kvvoQnihqpV3sgH1XxjCaIbRd4UbjZHhNehT1/A+PY6kBiwtZkfLwmwQZp9XcsjrPYp38Gdz7GhLp+jIkxc9BN0VMy1EN0aRNofNcVhI6rYeTD91VwI= Received: by 10.114.192.1 with SMTP id p1mr1574604waf.1190838675926; Wed, 26 Sep 2007 13:31:15 -0700 (PDT) Received: by 10.142.12.14 with HTTP; Wed, 26 Sep 2007 13:31:15 -0700 (PDT) Message-ID: <54db43990709261331h66878faejf757a9fb4b92ece6@mail.gmail.com> Date: Wed, 26 Sep 2007 16:31:15 -0400 From: "Bob Johnson" To: freebsd-stable@freebsd.org In-Reply-To: <20070926171503.GC3062@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <54db43990709251838q68bdba95iefefb43029761c34@mail.gmail.com> <200709261447.l8QElua3058752@lurza.secnetix.de> <20070926171503.GC3062@dan.emsphone.com> Subject: Re: rm(1) bug, possibly serious X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2007 20:31:16 -0000 On 9/26/07, Dan Nelson wrote: > In the last episode (Sep 26), Oliver Fromme said: > > Bob Johnson wrote: > > > Maybe. But I expect that the behavior for "rm -rf .." is there so > > > that things don't get REALLY astonishing when you do "rm -rf *". > > > > The expansion of "*" does not include "." or "..". > > Under /bin/sh, ".*" does match "." and "..", so be careful :) That's what I meant... thanks. Applies to bash, too. - Bob