Loading rootdir/init.rc +7 −2 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ loglevel 3 export PATH /sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin export LD_LIBRARY_PATH /vendor/lib:/system/lib export ANDROID_BOOTLOGO 1 export ANDROID_CACHE /cache export ANDROID_ROOT /system export ANDROID_ASSETS /system/app export ANDROID_DATA /data Loading Loading @@ -42,7 +43,7 @@ loglevel 3 mkdir /system mkdir /data 0771 system system mkdir /cache 0770 system cache mkdir /cache 0771 system cache mkdir /config 0500 root root # Directory for putting things only root should see. Loading Loading @@ -133,7 +134,7 @@ on post-fs # Same reason as /data above chown system cache /cache chmod 0770 /cache chmod 0771 /cache # This may have been created by the recovery system with odd permissions chown system cache /cache/recovery Loading Loading @@ -173,6 +174,10 @@ on post-fs chown system system /data/dalvik-cache chmod 0771 /data/dalvik-cache mkdir /cache/dalvik-cache 0771 system system chown system system /cache/dalvik-cache chmod 0771 /cache/dalvik-cache # create the lost+found directories, so as to enforce our permissions mkdir /data/lost+found 0770 mkdir /cache/lost+found 0770 Loading Loading
rootdir/init.rc +7 −2 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ loglevel 3 export PATH /sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin export LD_LIBRARY_PATH /vendor/lib:/system/lib export ANDROID_BOOTLOGO 1 export ANDROID_CACHE /cache export ANDROID_ROOT /system export ANDROID_ASSETS /system/app export ANDROID_DATA /data Loading Loading @@ -42,7 +43,7 @@ loglevel 3 mkdir /system mkdir /data 0771 system system mkdir /cache 0770 system cache mkdir /cache 0771 system cache mkdir /config 0500 root root # Directory for putting things only root should see. Loading Loading @@ -133,7 +134,7 @@ on post-fs # Same reason as /data above chown system cache /cache chmod 0770 /cache chmod 0771 /cache # This may have been created by the recovery system with odd permissions chown system cache /cache/recovery Loading Loading @@ -173,6 +174,10 @@ on post-fs chown system system /data/dalvik-cache chmod 0771 /data/dalvik-cache mkdir /cache/dalvik-cache 0771 system system chown system system /cache/dalvik-cache chmod 0771 /cache/dalvik-cache # create the lost+found directories, so as to enforce our permissions mkdir /data/lost+found 0770 mkdir /cache/lost+found 0770 Loading