vold: Temporarily disable asec mountpoint permissions
Signed-off-by: San Mehat <san@google.com>
diff --git a/VolumeManager.cpp b/VolumeManager.cpp
index 4a41923..d9c354d 100644
--- a/VolumeManager.cpp
+++ b/VolumeManager.cpp
@@ -229,7 +229,8 @@
}
if (Fat::doMount(loopDevice, mountPoint, false, false, ownerUid,
- 0, 0007, false)) {
+ 0, 0000, false)) {
+// 0, 0007, false)) {
LOGE("ASEC FAT mount failed (%s)", strerror(errno));
Loop::destroyByDevice(loopDevice);
unlink(asecFileName);
@@ -336,7 +337,8 @@
}
if (Fat::doMount(loopDevice, mountPoint, true, false, ownerUid, 0,
- 0227, false)) {
+ 0222, false)) {
+// 0227, false)) {
LOGE("ASEC mount failed (%s)", strerror(errno));
return -1;
}