From 03d2803c542cbae539dba785153e58d81c503bf3 Mon Sep 17 00:00:00 2001 From: William Roberts <bill.c.roberts@gmail.com> Date: Mon, 25 Jun 2012 12:42:30 -0700 Subject: [PATCH] media app should have rw access to sdcard dir and files. --- app.te | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.te b/app.te index 62e4bb1a7..19d387ff4 100644 --- a/app.te +++ b/app.te @@ -40,8 +40,8 @@ allow media_app mtp_device:chr_file rw_file_perms; allow media_app cache_file:dir rw_dir_perms; allow media_app cache_file:file create_file_perms; # Access sdcard. -allow media_app sdcard:dir r_dir_perms; -allow media_app sdcard:file r_file_perms; +allow media_app sdcard:dir rw_dir_perms; +allow media_app sdcard:file rw_file_perms; # Apps signed with the shared key. type shared_app, domain; -- GitLab