Hi Stephan,

On Fri, Aug 13, 2010 at 2:58 PM, StephanT <[email protected]> wrote:
>
> Hello,
>
> This question is related to a simple driver implementing a miscellaneous 
> device
> under 2-6-32

...snip...

> Looks like the mode = 0666 was successfully passed to the kernel:
>
>> cat /sys/class/misc/lab1/uevent
> MAJOR=10
> MINOR=54
> DEVNAME=lab1
> DEVMODE=0666

Since udev is just a user-mode task, all of its file creation stuff
will be additionally affected by umask, including the creation of the
dev node for your device.

So you'll either need to modify your global umask, or add a udev rule
for your driver which explicitly sets the mode.

-- 
Dave Hylands
Shuswap, BC, Canada
http://www.DaveHylands.com/

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to