/dev permissions after reboot (and panic)

Matthew Dillon dillon at apollo.backplane.com
Sun Jul 17 11:55:29 PDT 2005


:
:Maybe related.
:
:I had to make upgrade twice today
:because my first one messed up the dev permissions
:of pseudo-ttys /dev/ptyp? were 644 instead of 666.
:Noticed this after urxvt and aterm begun complaining about 
:not being able to open and or initialize their pseudo--ttys
:
:--ed
:Eduardo Tongson   <>

    Yah, I've been trying to track this down.  It does not
    appear to be related to softupdates.

    Either MAKEDEV itself has a bug and is not adjusting
    the permissions properly, or the chmod MAKEDEV is doing
    is being lost.  The '644' permissions are the default
    permissions when the node is created.  MAKEDEV does a
    separate chmod to fix the permissions up.

    I'm looking into a possible inode update race caused
    by e.g. a newly created inode being flushed simultanious
    with a chmod being made.

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>





More information about the Bugs mailing list