From a5bfcfc37b0767f78ce2c170236b3e5a594f253e Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 19 Oct 2017 21:45:16 +0200 Subject: [PATCH] klte-common: sepolicy: Add external fs permissions for shell Avoid SELinux denials when accessing external exfat FS from adb shell. Change-Id: I5f7d804dae4847807fdee763fa91e85cac049cf5 Signed-off-by: Corinna Vinschen --- sepolicy/shell.te | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sepolicy/shell.te diff --git a/sepolicy/shell.te b/sepolicy/shell.te new file mode 100644 index 0000000..4e8e4b6 --- /dev/null +++ b/sepolicy/shell.te @@ -0,0 +1,4 @@ +allow shell exfat:dir create_dir_perms; +allow shell exfat:file create_file_perms; +allow shell fuseblk:dir create_dir_perms; +allow shell fuseblk:file create_file_perms;