Hi ,
When we create a node under devfs ,
hwcdev_class = class_create(THIS_MODULE, DRVNAME);
device_create(hwcdev_class, NULL, MKDEV(dev_major, 0), dev, DEVNAME);
the node is created with default permission of 600 (root=rw, others nil) ,
crw------------ root root 252 , ....
How do i make permission setting automatically while creating node ? (i need 666 and don't want to execute chmod 666 /dev/mydev )
--
With Regards,
ShankarGanesh K .