Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 2003 11:32:11 -0700 (PDT)
From:      Ed Alley <alley1@llnl.gov>
To:        <freebsd-questions@freebsd.org>
Cc:        wea@llnl.gov
Subject:   File permissions suddenly change for /dev/null.
Message-ID:  <20030902111654.K11257-100000@jordan.llnl.gov>

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

I'm running FreeBSD-4.8. Sometimes the file permissions for /dev/null get
mysteriously changed by some unknown process to:

	crw------- 1 root wheel 2, 2 Sep 2 11:20 /dev/null

This has a devastating effect on user processes that want to open
/dev/null. Whenever my system starts acting funny, the first place
I look is at the permissions for /dev/null. When I find them changed
I go under root and execute:

	chmod 666 /dev/null

to get things back to normal.

Has anybody seen this before? Have I got a hidden umask set up
wrong somewhere, or is one of my daemons the culprit? Or could
it be happening during the time that I run as root doing
system maintenance?

				Ed Alley



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