I want to create a folder in android arm targets which will be like /data which has has read-write permission? I followed following steps in init.rc:-
mkdir /home 0771 system system
chown system system /home
chmod 0771 /home
After these commands folder created has following permissions : –
drwxrwx–x system system 2012-01-01 00:42 home
but when I Create folder in it showing error as shown below : –
Do I need to add more commands in init.rc to create this folder which will lets me create new folders and files into it.
Advertisement
Answer
I was able to create directory in root with read write permissions (steps) : –
mkdir /home 0771 system system
chown system system /home
chmod 0771 /home
- mount -o remount,rw /home /
Thanks.