HI Stephan, >> So you'll either need to modify your global umask, or add a udev rule >> for your driver which explicitly sets the mode. >> > > I use to build under my nonpriv-account but I need the root to "insmod/rmmod". > The root account has a standard "umask" of 0022. This is: > > umask -S u=rwx,g=rx,o=rx > > which is not consistent with > > ls -l /dev/lab1 > crw-rw---- 1 root root 10, 55 2010-08-16 09:52 /dev/lab1 > > Even if I alter the root's umask the device is still created with the same > protection. IIRC umask is an inheritable option. So what matters is what umask was in effect when udev was launched, which is probably from a script in /etc/init.d/udev or something similar. -- Dave Hylands Shuswap, BC, Canada http://www.DaveHylands.com/ -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ