From cff5ec3d360b699ad13df05670efe0d0a7386fbe Mon Sep 17 00:00:00 2001 From: San Mehat Date: Fri, 8 Jan 2010 12:31:44 -0800 Subject: [PATCH] vold: Temporarily disable asec mountpoint permissions Signed-off-by: San Mehat --- VolumeManager.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/VolumeManager.cpp b/VolumeManager.cpp index 4a41923..d9c354d 100644 --- a/VolumeManager.cpp +++ b/VolumeManager.cpp @@ -229,7 +229,8 @@ int VolumeManager::createAsec(const char *id, int sizeMb, } 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 @@ int VolumeManager::mountAsec(const char *id, const char *key, int ownerUid) { } if (Fat::doMount(loopDevice, mountPoint, true, false, ownerUid, 0, - 0227, false)) { + 0222, false)) { +// 0227, false)) { LOGE("ASEC mount failed (%s)", strerror(errno)); return -1; }