Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 2004 12:47:08 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Stephen Montgomery-Smith <stephen@math.missouri.edu>
Cc:        ports@freebsd.org
Subject:   Re: sh in linux_base cannot write to /dev/null
Message-ID:  <20041220204708.GB92334@xor.obsecurity.org>
In-Reply-To: <41C71776.5010308@math.missouri.edu>
References:  <41C71776.5010308@math.missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--DKU6Jbt7q3WqK7+M
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
>=20
> Incidently this error doesn't happen with linux_base-8.
>=20
> 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
--DKU6Jbt7q3WqK7+M
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBxzpMWry0BWjoQKURAut8AJ9iTGVpums5y530uXD+GOsQoI/3bACeOZCZ
dAjy9TqyCquSqVG+lqz5nRw=
=ISBZ
-----END PGP SIGNATURE-----

--DKU6Jbt7q3WqK7+M--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041220204708.GB92334>