From owner-freebsd-emulation Wed Mar 13 23:27:59 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from ophelia.dogcow.org (ophelia.dogcow.org [216.162.195.122]) by hub.freebsd.org (Postfix) with ESMTP id 7BD0A37B405 for ; Wed, 13 Mar 2002 23:27:54 -0800 (PST) Received: from desdemona.sharding.net (localhost [127.0.0.1]) by ophelia.dogcow.org (8.12.2/8.12.2) with ESMTP id g2E7Ta2t024631; Wed, 13 Mar 2002 23:29:36 -0800 (PST) Received: (from sharding@localhost) by desdemona.sharding.net (8.12.2/8.12.2/Submit) id g2E7TYh2024630; Wed, 13 Mar 2002 23:29:34 -0800 (PST) Date: Wed, 13 Mar 2002 23:29:33 -0800 From: Sean Harding To: Andrew Gallatin Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: Possible bug with mkdir() in linux emulation? Message-ID: <20020314072933.GJ19578@dogcow.org> References: <20020311192804.GE7788@dogcow.org> <15503.28152.181832.704801@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15503.28152.181832.704801@grasshopper.cs.duke.edu> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed Mar 13 at 10:19:20 AM, Andrew Gallatin wrote: > as to be able to find linux shared libs & config files. So your > program is trying to make /compat/linux/home, which doesn't exist & > which you do not have permission to create. Ahhh! Indeed. A symlink from /home to /compat/linux/home made it work. So, I guess my question is whether this is a bug or a feature. Obviously, it's necessary in order for some things to work (shared libraries, etc.). However, as the Mozilla bug demonstrates, it also breaks some things that assume that /home is /home is /home. Does $HOME get /compat/linux prepended to it when Linux binaries try to get my home directory? sean -- Sean Harding sharding@dogcow.org | "Never before and never since, I promise, http://www.dogcow.org/sean/ | will the whole world be warm as this." | -- 10,000 Maniacs To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message