Date: Fri, 22 Oct 2004 10:37:40 -0700 (PDT) From: Doug White <dwhite@gumbysoft.com> To: Andriy Gapon <avg@icyb.net.ua> Cc: Konrad Heuer <kheuer2@gwdg.de> Subject: Re: linux emulation: "/ " resolves to real root dir; why ? Message-ID: <20041022103516.I48519@carver.gumbysoft.com> In-Reply-To: <4178EE95.6080708@icyb.net.ua> References: <4178DBA0.8050605@icyb.net.ua> <20041022131342.W95775@gwdu60.gwdg.de> <4178EE95.6080708@icyb.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Removing -queestions crosspost. On Fri, 22 Oct 2004, Andriy Gapon wrote: > on 22.10.2004 14:18 Konrad Heuer said the following: > > On Fri, 22 Oct 2004, Andriy Gapon wrote: > > > > Linux binaries often need to access files outside the emulation directory > > tree, just think of data files in the user's homes when running > > applications like acroread, linux-mozilla, staroffice etc. So you > > absolutely need to break out. > > > > we are taking about different "break outs". Removing the check will > *not* affect accessing any other filesystem node but "/". Only things like > cd / > ls / > or > "cd .." from /compat/linux/foo > will be affected. You missed the point. This would mean you would not be able to access stuff like /home, which would make it awful hard to access user home directories, unless you create symlink copies in the /compat/linux tree. As long as you create the top-level dir in /compat/linux first, mkdir -p will Do The Right Thing after that. The port seems to install fine on my systems; it doesn't spam any existing files or directories, so I'm not sure why you think linux_base-7 has a problem. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041022103516.I48519>