From owner-freebsd-questions@FreeBSD.ORG Sat Nov 8 01:19:44 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A82701065674 for ; Sat, 8 Nov 2008 01:19:44 +0000 (UTC) (envelope-from pprocacci@datapipe.com) Received: from fmailhost05.isp.att.net (fmailhost05.isp.att.net [204.127.217.105]) by mx1.freebsd.org (Postfix) with ESMTP id 95AB68FC1C for ; Sat, 8 Nov 2008 01:19:44 +0000 (UTC) (envelope-from pprocacci@datapipe.com) Received: from [10.5.21.122] (adsl-1-209-225.bna.bellsouth.net[65.1.209.225]) by isp.att.net (frfwmhc05) with ESMTP id <20081108010840H0500ccm6ee>; Sat, 8 Nov 2008 01:08:41 +0000 X-Originating-IP: [65.1.209.225] Message-ID: <4914E67A.40409@datapipe.com> Date: Fri, 07 Nov 2008 19:08:10 -0600 From: "Paul A. Procacci" User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Steve Watt References: <20081107231303.GA9804@wattres.Watt.COM> In-Reply-To: <20081107231303.GA9804@wattres.Watt.COM> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: Glob error? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2008 01:19:44 -0000 Steve Watt wrote: > ( Please cc: me on replies, as I can't keep up with traffic on -questions ) > > I did the following: > > % cd /tmp > % mkdir -p a/dir1/new a/dir1/cur > % mkdir -p b/dir1/new b/dir1/cur > % mkdir -p c/dir1/new c/dir1/cur > % ls -ld */dir1/new > drwxrwxr-x 2 steve wheel 512 Nov 7 15:10 a/dir1/new/ > % > > System is: > FreeBSD wattres.Watt.COM 6.3-STABLE FreeBSD 6.3-STABLE #9: Tue May 13 16:06:34 PDT 2008 root@wattres.Watt.COM:/usr/obj/usr/src/sys/WATTRES i386 > > Source was probably updated a few hours before the kernel build time. > > Shell doesn't seem to matter (have tried both tcsh and bash). > > My cygwin installation seems to get it right. > > Known issue? A quick glance for "glob" in gnats didn't show anything promising. > I too can't reproduce this on any of my machines: nat# mkdir -p {a,b,c}/dir/{cur,new} nat# ls -ld */dir/* drwxr-xr-x 2 root wheel 512 Nov 7 19:07 a/dir/cur drwxr-xr-x 2 root wheel 512 Nov 7 19:07 a/dir/new drwxr-xr-x 2 root wheel 512 Nov 7 19:07 b/dir/cur drwxr-xr-x 2 root wheel 512 Nov 7 19:07 b/dir/new drwxr-xr-x 2 root wheel 512 Nov 7 19:07 c/dir/cur drwxr-xr-x 2 root wheel 512 Nov 7 19:07 c/dir/new Awefully strange indeed.