Ok. Thanks. In fact I modified the driver which was exporting this sysfs
entry. Not driver creates the the entry with 777 perm only.

-- 
Regards,
Pratik Prajapati


On Wed, Nov 2, 2011 at 12:38 PM, Sylvain Huard <sylvain.hu...@admetric.ca>wrote:

> I had a very similar problem with a "chmod 0777 filename" not working in
> my init.rc. It took me hours to figure it out. Just in case you face the
> same thing, here is what was my problem. The directory where "filename" was
> had less rights than what I wanted for "filename". So, even though filename
> was supposed to be 0777, the effective rights were the one of "parent
> directory". To fix it I did:
> chmod 0777 "parentdirectory"
> chmod 0777 "parentdirectory/filename"
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to