how to change the permission of /dev/ node from kernel mode.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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.



-- 
Regards,
Mohamed Thalib .H


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux