From f0abbf97982a4a382d4c742ea2e86a882d100f7b Mon Sep 17 00:00:00 2001 From: Sudheer Shanka <sudheersai@google.com> Date: Tue, 18 Dec 2018 13:19:02 -0800 Subject: [PATCH] Allow vold to create files at /mnt/user/.* Bug: 121099965 Test: manual Change-Id: I940868eb984399763d7346a201e37cb07fb12333 --- public/vold.te | 1 + 1 file changed, 1 insertion(+) diff --git a/public/vold.te b/public/vold.te index 7e71f1607..14286c4cc 100644 --- a/public/vold.te +++ b/public/vold.te @@ -78,6 +78,7 @@ allow vold { mnt_media_rw_stub_file storage_stub_file }:dir { mounton create rmd # Manage per-user primary symlinks allow vold mnt_user_file:dir { create_dir_perms mounton }; allow vold mnt_user_file:lnk_file create_file_perms; +allow vold mnt_user_file:file create_file_perms; # Allow to create and mount expanded storage allow vold mnt_expand_file:dir { create_dir_perms mounton }; -- GitLab