Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Oct 2006 17:41:33 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        freebsd-stable@freebsd.org
Subject:   Re: /dev/null
Message-ID:  <20061006154133.GA10019@slackbox.xs4all.nl>
In-Reply-To: <eg52kp$dlv$1@sea.gmane.org>
References:  <20061005224319.GB39057@math.jussieu.fr> <20061005204949.U18621@abigail.hsd1.mn.comcast.net> <eg52kp$dlv$1@sea.gmane.org>

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

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

On Fri, Oct 06, 2006 at 10:03:11AM +0200, Ivan Voras wrote:
> Brent Casavant wrote:
>=20
> >Not with FreeBSD in particular.  However, from time to time I've
> >run across a piece of software that makes bad assumptions about
> >deleting various input or output files.  If run as root, the
> >program/library might accidentally delete a character special
> >device such as /dev/null.
>=20
> Hmm, that's... inconvenient. I usually support "root-almighty" thing,=20
> but allowing deletion from dynamically populated /dev seems=20
> counterproductive.

The command 'devfs rule -s 2 apply 100' should fix it, I think.

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--8t9RHnE3ZwKMSgU+
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFFJnktEnfvsMMhpyURApQjAKCrsRK2OY/bYnHqJF9DTb+KCc3OswCbBf8e
LeArSrLLUf3E/MqGB0gmZ3I=
=ZDOE
-----END PGP SIGNATURE-----

--8t9RHnE3ZwKMSgU+--



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