On Sat, Dec 22, 2012 at 9:49 PM, Adel Qodmani <mpcadel@gmail.com> wrote:
I am not sure, but try running your application as a root

Adel,


On Sat, Dec 22, 2012 at 6:09 PM, Niroj Pokhrel <nirojpokhrel@gmail.com> wrote:
Hi,
I have been trying to open a character device and getting the following error :
open("/dev/mychardev", O_RDONLY)        = -1 EACCES (Permission denied)
What do I have to change my permission mode ??
Please help. Thanx in advance .

--
Niroj Pokhrel
Software Engineer,
Samsung India Software Operations

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



Thank you Adel. It worked.

--
Niroj Pokhrel
Software Engineer,
Samsung India Software Operations