diff options
author | Zim <zezeozue@google.com> | 2020-01-05 03:22:34 +0000 |
---|---|---|
committer | Zim <zezeozue@google.com> | 2020-01-06 13:44:02 +0000 |
commit | 1fc3355e8111986b5acc79ac41515ab668f3b946 (patch) | |
tree | 6aba70af6c0133aa8cc92c86cc5bf95d7ed143e2 /rs/java/android/renderscript/RenderScriptCacheDir.java | |
parent | 9aa5a8dbd8984638b7acbecc378fdaf6c72e6f1f (diff) |
Fix /mnt/user/<userid> permission bits
Vold sets permission bits for /mnt/user/<userid> when mounting a
volume, zygote was setting different (more relaxed) bits for that
folder. Now we set the same (more restrictive) bits.
It is important to set it here as well because apps may start before
the volume is mounted and they should have the always have the same
permission bits for /mnt/user/<userid>
Bug: 135341433
Test: atest -c android.appsecurity.cts.ExternalStorageHostTest#testSecondaryUsersInaccessible
Change-Id: I87af1b5e63601b38443715fced8b20693b9cf5e6
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions