From owner-freebsd-bugs Sun Apr 12 16:00:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA15287 for freebsd-bugs-outgoing; Sun, 12 Apr 1998 16:00:06 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA15278; Sun, 12 Apr 1998 16:00:05 -0700 (PDT) (envelope-from gnats) 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 ; 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 X-Send-Pr-Version: 3.2 Subject: bin/6283: linux compat does not follow symlinks "correctly" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 6283 >Category: bin >Synopsis: linux compat does not follow symlinks "correctly" >Confidential: yes >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 12 16:00:04 PDT 1998 >Last-Modified: >Originator: Niall Smart >Organization: >Release: FreeBSD 2.2.6-STABLE i386 >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 :) >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message