Hi, On Mon, Nov 24, 2008 at 12:32 PM, Mohamed Thalib .H<h.mohamedthalib@xxxxxxxxxxxxx> 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 do that with macro CLASS_ATTR(name, mode, show, store) modes could be found at linux/stat.h (lines approx : 50 > 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>> thanks marek -- as simple as primitive as possible----------------------------------------------Marek Beliško - open-nandraRuská Nová Ves 21908005 PrešovSlovakiahttp://open-nandra.com��.n��������+%����w�j)p���{.n����z�ޖw�n'���q���b�������v��m�����Y�����