Merge "Create test directory with the correct permissions." into rvc-dev
diff --git a/tests/jni/FuseDaemonTest/host/src/com/android/tests/fused/host/LegacyAccessHostTest.java b/tests/jni/FuseDaemonTest/host/src/com/android/tests/fused/host/LegacyAccessHostTest.java
index ba574b7..852ab0e 100644
--- a/tests/jni/FuseDaemonTest/host/src/com/android/tests/fused/host/LegacyAccessHostTest.java
+++ b/tests/jni/FuseDaemonTest/host/src/com/android/tests/fused/host/LegacyAccessHostTest.java
@@ -108,14 +108,14 @@
@Test
public void testCreateFilesInRandomPlaces_hasW() throws Exception {
revokePermissions("android.permission.READ_EXTERNAL_STORAGE");
- executeShellCommand("mkdir -p /sdcard/Android/data/com.android.shell");
+ executeShellCommand("mkdir -p /sdcard/Android/data/com.android.shell -m 2770");
runDeviceTest("testCreateFilesInRandomPlaces_hasW");
}
@Test
public void testMkdirInRandomPlaces_hasW() throws Exception {
revokePermissions("android.permission.READ_EXTERNAL_STORAGE");
- executeShellCommand("mkdir -p /sdcard/Android/data/com.android.shell");
+ executeShellCommand("mkdir -p /sdcard/Android/data/com.android.shell -m 2770");
runDeviceTest("testMkdirInRandomPlaces_hasW");
}