Why the mode of /dev/null is changed after system reboot?
Sven Willenberger
sven at dmv.com
Mon Nov 1 11:48:08 PST 2004
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.
More information about the freebsd-stable
mailing list