Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Nov 2004 09:08:15 +0300 (MSK)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        Sven Willenberger <sven@dmv.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Why the mode of /dev/null is changed after system reboot?
Message-ID:  <20041102090724.K88773@woozle.rinet.ru>
In-Reply-To: <1099338588.24107.19.camel@lanshark.dmv.com>
References:  <148cabbc04103117195de9fe4e@mail.gmail.com>  <1099338588.24107.19.camel@lanshark.dmv.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 1 Nov 2004, Sven Willenberger wrote:

SW> > > I have a gateway running FreeBSD 4.10-p3. Normally, the mode of
SW> > > /dev/null should be 666, but recently, I find that its mode is changed
SW> > > to 600 automatically after reboot, I have checked all /etc/rc* and
SW> > > /usr/local/etc/rc.d/*, but I can't get anything that led to it...:-(
SW> > 
SW> > Probably a local error.  Try changing scripts to #!/bin/sh -x and
SW> > carefully watch (or log) the boot process.  Start with any local
SW> > scripts you have since it's most likely to be a problem there.
SW> 
SW> Actually I have found this happening on my 4.10 boxen as well. I thought
SW> it was some one-time glitch and just chmodded the thing back. Didn't
SW> even think about it until I saw this post. I will try to see if I can
SW> catch the circumstances surrounding it if it happens again.

I remember I stepped into this once or twice in the past. Bad umask at 
mergemaster/MAKEDEV time possibly?

Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------



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