<br><br><div class="gmail_quote">On Sat, Dec 22, 2012 at 9:49 PM, Adel Qodmani <span dir="ltr">&lt;<a href="mailto:mpcadel@gmail.com" target="_blank">mpcadel@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>I am not sure, but try running your application as a root</div><div><br></div><div>Adel,</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Sat, Dec 22, 2012 at 6:09 PM, Niroj Pokhrel <span dir="ltr">&lt;<a href="mailto:nirojpokhrel@gmail.com" target="_blank">nirojpokhrel@gmail.com</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Hi,<br>I have been trying to open a character device and getting the following error :<br>
open(&quot;/dev/mychardev&quot;, O_RDONLY)        = -1 EACCES (Permission denied)<br>
What do I have to change my permission mode ?? <br>
Please help. Thanx in advance .<span><font color="#888888"><br clear="all"><br>-- <br>Niroj Pokhrel<br>Software Engineer,<br>Samsung India Software Operations<br>
</font></span><br></div></div>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br>Thank you Adel. It worked. <br clear="all"><br>-- <br>Niroj Pokhrel<br>Software Engineer,<br>Samsung India Software Operations<br>