From nsmart@indigo.ie  Sun Apr 12 15:55:52 1998
Received: from indigo.ie (nsmart@ts01-09.waterford.indigo.ie [194.125.139.72])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA14457
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 12 Apr 1998 15:55:49 -0700 (PDT)
          (envelope-from nsmart@indigo.ie)
Received: (from nsmart@localhost)
	by indigo.ie (8.8.8/8.8.7) id XAA02917;
	Sun, 12 Apr 1998 23:56:19 +0100 (IST)
	(envelope-from nsmart)
Message-Id: <199804122256.XAA02917@indigo.ie>
Date: Sun, 12 Apr 1998 23:56:19 +0100 (IST)
From: rotel@indigo.ie
Reply-To: rotel@indigo.ie
To: FreeBSD-gnats-submit@freebsd.org
Subject: linux compat does not follow symlinks "correctly"
X-Send-Pr-Version: 3.2

>Number:         6283
>Category:       bin
>Synopsis:       linux compat does not follow symlinks "correctly"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 12 16:00:04 PDT 1998
>Closed-Date:    Mon Apr 13 06:16:43 PDT 1998
>Last-Modified:  Tue Nov 27 19:25:28 PST 2001
>Originator:     Niall Smart
>Release:        FreeBSD 2.2.6-STABLE i386
>Organization:
>Environment:


>Description:

The linux compatability module does not follow symlinks to directories
as it would follow the directory itself:

[root@ginseng linux]# ls -lad etc
drwxr-xr-x  2 root  wheel  512 Apr 12 23:43 etc
[root@ginseng linux]# ls -lad foo
lrwxrwxrwx  1 root  wheel  4 Apr 12 23:51 foo -> /etc
[root@ginseng linux]# bin/sh -c "echo /etc/*"
/etc/host.conf /etc/ld.so.cache /etc/ld.so.conf /etc/nsswitch.conf
[root@ginseng linux]# bin/sh -c "echo foo/*" 
foo/COPYRIGHT foo/XF86Config foo/XF86Config.bak foo/adduser.conf
foo/adduser.conf.bak foo/aliases foo/aliases.db foo/amd.map
[snip]


>How-To-Repeat:


>Fix:

Patch not included, sorry :)
>Release-Note:
>Audit-Trail:

From: Niall Smart <rotel@indigo.ie>
To: rotel@indigo.ie, FreeBSD-gnats-submit@FreeBSD.ORG
Cc:  Subject: Re: bin/6283: linux compat does not follow symlinks "correctly"
Date: Mon, 13 Apr 1998 13:16:22 +0000

 On Apr 12, 11:56pm, rotel@indigo.ie wrote:
 } Subject: bin/6283: linux compat does not follow symlinks "correctly"
 
 Someone changed my mind about this PR, you can kill it :)
 
 Niall
 
 -- 
 Niall Smart.  Microsoft Suck.  See www.freebsd.org for details.
 echo "#define if(x) if(!(x))" >> /usr/include/stdio.h
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Mon Apr 13 06:16:43 PDT 1998 
State-Changed-Why:  
closed at originators request. 
>Unformatted:
