Hi Niroj<br><br>On Saturday, December 22, 2012, Niroj Pokhrel <<a href="mailto:nirojpokhrel@gmail.com">nirojpokhrel@gmail.com</a>> wrote:<br>> Hi,<br>> I have been trying to open a character device and getting the following error . It > open("/dev/mychardev", O_RDONLY) = -1 EACCES (Permission denied)<br>
> What do I have to change my permission mode ??<br>> Please help. Thanx in advance .<br>...<br>Can you please tell what are the permissions you have assigned to application which is producing this strace. Also, which user mode are you in when you execute it.<br>
<br>Generally , it can be because lack of enough permissions to read app, or because the driver associated with you char dev is returning this error code.<br><br>Thats my two pence.<br><br>-<br>Shreyansh