and chmod

by Hamilton Vera » Sat, 17 Jul 2010 01:37:47 GMT

Sponsored Links
 Greetings everyone.

We are porting a hardware to Android and we will need to execute a
script to activate its module, here is the

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

file := $(TARGET_OUT)/etc/
$(file) : $(LOCAL_PATH)/ | $(ACP)
        $(hide) chmod 0777 $@
ALL_PREBUILT += $(file)

Unfortunately when the image is built the file does not inherit the
permissions set in .

I want to avoid using chmod in init.rc (to keep it fast and simple), I
am reading ANDROID-MK.TXT, but no luck yet.

I would appreciate any help.

Hamilton Vera
int Administrator (char Network[],char ComputationalSystems[]) 


Other Threads

1. No text zoom in for gmail app on android


Is there a text zoom in feather in gmail app at all? I feel very hard
to read a long mail in it. why is this not happening?


2. Getting Friends list from Facebook

Hey Guys,

hope you are doin well, can any one guide me how to get Friends List
from Facebook using Code.

Thanks in advance,


3. Too many audioflinger blocked warn,please help.

4. Identifying handsets

5. Reducing application size by exporting some files to SD card

6. Distortion of images

7. ListView > if I don't wan use xml, but programatic... how??