On Sat, Dec 22, 2012 at 9:49 PM, Adel Qodmani <[email protected]> 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 <[email protected]>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
>> [email protected]
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
>>
>
Thank you Adel. It worked.

-- 
Niroj Pokhrel
Software Engineer,
Samsung India Software Operations
_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to