diff --git a/prebuilts/api/34.0/public/sdcardd.te b/prebuilts/api/34.0/public/sdcardd.te index 220e7d0be3..4d96fa6e6f 100644 --- a/prebuilts/api/34.0/public/sdcardd.te +++ b/prebuilts/api/34.0/public/sdcardd.te @@ -16,6 +16,7 @@ allow sdcardd self:global_capability_class_set { setuid setgid dac_override dac_ allow sdcardd { sdcard_type fuse }:dir create_dir_perms; allow sdcardd { sdcard_type fuse }:file create_file_perms; +allow sdcardd media_userdir_file:dir r_dir_perms; allow sdcardd media_rw_data_file:dir create_dir_perms; allow sdcardd media_rw_data_file:file create_file_perms; diff --git a/public/sdcardd.te b/public/sdcardd.te index 220e7d0be3..4d96fa6e6f 100644 --- a/public/sdcardd.te +++ b/public/sdcardd.te @@ -16,6 +16,7 @@ allow sdcardd self:global_capability_class_set { setuid setgid dac_override dac_ allow sdcardd { sdcard_type fuse }:dir create_dir_perms; allow sdcardd { sdcard_type fuse }:file create_file_perms; +allow sdcardd media_userdir_file:dir r_dir_perms; allow sdcardd media_rw_data_file:dir create_dir_perms; allow sdcardd media_rw_data_file:file create_file_perms;