aboutsummaryrefslogtreecommitdiffstats
path: root/shell.te
diff options
context:
space:
mode:
authorStephen Smalley <sds@tycho.nsa.gov>2012-03-08 11:17:45 -0500
committerStephen Smalley <sds@tycho.nsa.gov>2012-03-08 11:17:45 -0500
commitb660916b0a8ca9604bf9d425f5e385aa13393a1f (patch)
tree1c8237963cd442a2bfd8d27945e97443a4198fd3 /shell.te
parentd5a70a7f7c4c970733fdec8b1516837e048c399e (diff)
downloadandroid_external_sepolicy-b660916b0a8ca9604bf9d425f5e385aa13393a1f.tar.gz
android_external_sepolicy-b660916b0a8ca9604bf9d425f5e385aa13393a1f.tar.bz2
android_external_sepolicy-b660916b0a8ca9604bf9d425f5e385aa13393a1f.zip
Allow the shell to create files on the sdcard.
Diffstat (limited to 'shell.te')
-rw-r--r--shell.te2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell.te b/shell.te
index a0d0205..0c67c46 100644
--- a/shell.te
+++ b/shell.te
@@ -14,7 +14,7 @@ allow shell shell_data_file:file rx_file_perms;
# Access sdcard.
allow shell sdcard:dir rw_dir_perms;
-allow shell sdcard:file rw_file_perms;
+allow shell sdcard:file create_file_perms;
r_dir_file(shell, apk_data_file)
allow shell dalvikcache_data_file:file write;