Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Nov 2008 19:08:10 -0600
From:      "Paul A. Procacci" <pprocacci@datapipe.com>
To:        Steve Watt <steve@Watt.COM>
Cc:        questions@freebsd.org
Subject:   Re: Glob error?
Message-ID:  <4914E67A.40409@datapipe.com>
In-Reply-To: <20081107231303.GA9804@wattres.Watt.COM>
References:  <20081107231303.GA9804@wattres.Watt.COM>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4914E67A.40409>