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. Auto check if video is disabled or removed

Hi, I run a website which has 100's of embeded youtube videos show
sorts of Hobbies, Interests, Pastimes and Sports on

It is impossible to keep track of all the videos on the website, so
what I want to do (if possible) is run a piece of php code to check
the video is still available - some sort of API?

Any feedback would be greatly appreciated, as we are finding more
videos are having embedding disabled after they have gone up for a
number of months.

Many thanks.


2. problem when moving image to the sdcard

I tried to copy one jpg image to teh sdcard using
push h.jpg /sdcard/dcim/camera

when I open the pictures in the emulator
a redcolor rectangle comes and a blank screen is shown
why so ?
how can I see the copied image in the pictures ?


3. java.lang.VerifyError with 0.9

4. problem with verifier

5. anyone has problem with verifyError?

6. Emulator starts but HelloAndroid doesn't run

7. What's about phone functions?