Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Nov 2004 14:49:48 -0500
From:      Sven Willenberger <sven@dmv.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: Why the mode of /dev/null is changed after system reboot?
Message-ID:  <1099338588.24107.19.camel@lanshark.dmv.com>
In-Reply-To: <20041101173050.GA66108@xor.obsecurity.org>
References:  <148cabbc04103117195de9fe4e@mail.gmail.com> <20041101173050.GA66108@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2004-11-01 at 09:30 -0800, Kris Kennaway wrote:
> On Mon, Nov 01, 2004 at 09:19:12AM +0800, Iva Hesy wrote:
> > I have a gateway running FreeBSD 4.10-p3. Normally, the mode of
> > /dev/null should be 666, but recently, I find that its mode is changed
> > to 600 automatically after reboot, I have checked all /etc/rc* and
> > /usr/local/etc/rc.d/*, but I can't get anything that led to it...:-(
> 
> Probably a local error.  Try changing scripts to #!/bin/sh -x and
> carefully watch (or log) the boot process.  Start with any local
> scripts you have since it's most likely to be a problem there.
> 
> Kris

Actually I have found this happening on my 4.10 boxen as well. I thought
it was some one-time glitch and just chmodded the thing back. Didn't
even think about it until I saw this post. I will try to see if I can
catch the circumstances surrounding it if it happens again.



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