On Mon, Nov 24, 2008 at 05:02:58PM +0530, Mohamed Thalib .H wrote: > Hi All, > > I have created a /dev/ node using class_create() and > class_device_create() APIs, > > by default the created node is having root only permisson as below > > crw-rw---- 1 root root 251, 0 2008-11-24 16:56 /dev/sp > > how can I give acces permission so every one can access that node You can't do that from the kernel, you must write a udev rule. > I dont want to use chmod in user space intead it should be done in the > kernel mode itsel .Is the any way to this stuff. No, it can not be done in the kernel, as the kernel did not create the device node in the first place, udev did. thanks, greg k-h -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ