diff --git a/installd.te b/installd.te index a47853f80547a9c3d20e638c7c5a7a4bc8fdcf08..18d6c6d1fb2e40690829f2f3ef5014ef3ed30b9c 100644 --- a/installd.te +++ b/installd.te @@ -8,11 +8,11 @@ allow installd self:capability { chown dac_override fowner fsetid setgid setuid # Allow labeling of files under /data/app/com.example/oat/ allow installd dalvikcache_data_file:dir relabelto; -allow installd dalvikcache_data_file:file relabelto; +allow installd dalvikcache_data_file:file { relabelto link }; # Allow movement of APK files between volumes allow installd apk_data_file:dir { create_dir_perms relabelfrom }; -allow installd apk_data_file:file { create_file_perms relabelfrom }; +allow installd apk_data_file:file { create_file_perms relabelfrom link }; allow installd apk_data_file:lnk_file { create read unlink }; allow installd asec_apk_file:file r_file_perms;