NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/42237: /dev/null permission issues

The following reply was made to PR misc/42237; it has been noted by GNATS.

From: "Greg A. Woods" <>
To: Lucio Albornoz <>
Cc: NetBSD GNATS <>,
Subject: Re: misc/42237: /dev/null permission issues
Date: Mon, 02 Nov 2009 21:27:57 -0500

 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable
 At Tue, 3 Nov 2009 00:39:38 +0100, Lucio Albornoz <> 
 Subject: Re: misc/42237: /dev/null permission issues
 > On Tue, Oct 27, 2009 at 02:10:01PM +0000, wrote:
 > > There are strange issues with /dev/null access permissions in a
 > > fresh installation of NetBSD [ ... ]. First, these (permissions)
 > > are nowhere near persistent [ ... ] Moreover, strange things
 > > (appear to?) happen: it looks like /dev/null permissions are
 > > being changed along the way (one day I found /dev/null it belonging
 > > to my primary group rather than to wheel, and I was nowhere near
 > > to claiming such kind authority over it :-) ).
 > Same issue as <>
 > perhaps?
 Anyone who makes a symlink point at /dev/null is just asking for big
 trouble, especially if it is any pathname that could ever be accessed in
 any way by any privileged process.
 That said though, I've always thought some of these important system
 device files should have something close to the "system immutable flag"
 (schg) set on them so that their permissions and ownerships cannot be
 changed during normal operation.
                                                Greg A. Woods
                                                Planix, Inc.
 <>       +1 416 218 0099
 Content-Type: application/pgp-signature
 Content-Transfer-Encoding: 7bit
 Version: GnuPG v1.4.9 (NetBSD)

Home | Main Index | Thread Index | Old Index