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" > > > -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel