random premission changes
Matthew Dillon
dillon at apollo.backplane.com
Wed Feb 1 12:03:09 PST 2006
:
:For the past 6+ months I've been seeing /dev/null end up with a
:permission of 700. This causes services like sendmail and mysql to
:error. I'm not sure if fsck is changing them after a crash or if it
:is something else going on. Right now is appears to be random as I've
:not been checking the permissions after every unclean shutdown.
:
:Has anyone else seen this ?
:
:-DR
We had a bug where inode changes were not being entirely flushed
to disk on reboot. It should have been fixed in HEAD last July, though.
What happens is that MAKEDEV creates /dev/null 600 or something like
that, and then chmod's it to 666. The user then reboots, but the
chmod doesn't get flushed to the physical disk, so upon reboot
/dev/null winds up back at 600.
But I was sure I fixed that 6 months ago.
-Matt
Matthew Dillon
<dillon at xxxxxxxxxxxxx>
More information about the Kernel
mailing list