more ramdisk changes
diff --git a/ramdisk/init.jet.rc b/ramdisk/init.jet.rc
index 489fc2c..816d166 100755
--- a/ramdisk/init.jet.rc
+++ b/ramdisk/init.jet.rc
@@ -16,6 +16,7 @@
     mkdir /data 0771 system system
     mkdir /cache 0770 system cache
     mkdir /devlog 0700 root root
+    mkdir /cache/dalvik-cache 0771 system system
 
     mount ext4 /dev/block/mmcblk0p35 /system wait ro data=ordered noauto_da_alloc
     mount ext4 /dev/block/mmcblk0p37 /data wait noatime nosuid nodev data=ordered noauto_da_alloc
diff --git a/ramdisk/init.rc b/ramdisk/init.rc
index 26da78c..7d572b8 100644
--- a/ramdisk/init.rc
+++ b/ramdisk/init.rc
@@ -172,8 +172,14 @@
     mkdir /data/property 0700 root root
     mkdir /data/radio 0770 radio radio
 
-    # create dalvik-cache, so as to enforce our permissions
+    # create dalvik-cache and double-check the perms, so as to enforce our permissions
+    mkdir /data/dalvik-cache 0771 system system
+    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 resource-cache and double-check the perms
     mkdir /data/resource-cache 0771 system system