Merge "Allow media_rw access to /mnt/user"
diff --git a/Utils.cpp b/Utils.cpp
index 67e92c9..4720645 100644
--- a/Utils.cpp
+++ b/Utils.cpp
@@ -1038,7 +1038,7 @@
// Ensure that /mnt/user is 0700. With FUSE, apps don't need access to /mnt/user paths directly.
// Without FUSE however, apps need /mnt/user access so /mnt/user in init.rc is 0755 until here
- auto result = PrepareDir("/mnt/user", 0700, AID_ROOT, AID_ROOT);
+ auto result = PrepareDir("/mnt/user", 0750, AID_ROOT, AID_MEDIA_RW);
if (result != android::OK) {
PLOG(ERROR) << "Failed to prepare directory /mnt/user";
return -1;