Date: Mon, 20 Dec 2004 14:58:46 -0600 From: Stephen Montgomery-Smith <stephen@math.missouri.edu> To: Kris Kennaway <kris@obsecurity.org> Cc: ports@freebsd.org Subject: Re: sh in linux_base cannot write to /dev/null Message-ID: <41C73D06.90000@math.missouri.edu> In-Reply-To: <20041220204708.GB92334@xor.obsecurity.org> References: <41C71776.5010308@math.missouri.edu> <20041220204708.GB92334@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway wrote: > On Mon, Dec 20, 2004 at 12:18:30PM -0600, Stephen Montgomery-Smith wrote: > >>I installed linux_base from the ports. If I then run >>/compat/linux/bin/sh >>and then type >>cat > /dev/null >>I get an error message: >>sh: /dev/null: Permission denied >> >>Incidently this error doesn't happen with linux_base-8. >> >>I am running FreeBSD-5.3-STABLE and ls -l /dev/null gives >>crw-rw-rw- 1 root wheel 2, 2 Dec 20 12:11 /dev/null > > > It's actually /compat/linux/dev/null that's being written to. What's > there on your machine? > > Kris There is nothing there. Presumably some kind of makedev instruction would fix it, but I don't know what that instruction would be. (With linux_base-8 there isn't even a /compat/linux/dev - was this a deliberate change?)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41C73D06.90000>