diff --git a/adbd.te b/adbd.te index 72deb502649d38d98da124fe27a0e8c9c497308d..ba673f400b939bf561bd28eaa2c2d054cb784a51 100644 --- a/adbd.te +++ b/adbd.te @@ -91,5 +91,5 @@ allow adbd bootchart_data_file:file r_file_perms; # and symlinks to primary storage at places like /storage/sdcard0 and /mnt/user/0/primary allow adbd storage_file:dir r_dir_perms; allow adbd storage_file:lnk_file r_file_perms; -allow adbd mnt_user_file:dir search; +allow adbd mnt_user_file:dir r_dir_perms; allow adbd mnt_user_file:lnk_file r_file_perms; diff --git a/app.te b/app.te index 52a3bd6a84ba76f11fed6f8bcfc30edcba0505ec..5917f7c6d35465f2c19f92a56e0c9766aea09548 100644 --- a/app.te +++ b/app.te @@ -128,7 +128,7 @@ allow appdomain radio_data_file:file { read write getattr }; # and symlinks to primary storage at places like /storage/sdcard0 and /mnt/user/0/primary allow appdomain storage_file:dir r_dir_perms; allow appdomain storage_file:lnk_file r_file_perms; -allow appdomain mnt_user_file:dir search; +allow appdomain mnt_user_file:dir r_dir_perms; allow appdomain mnt_user_file:lnk_file r_file_perms; # Read/write visible storage