diff --git a/dumpstate.te b/dumpstate.te
index 8c27273540a4869a064dc9d94a55d8aed3c72664..948131e6756bd16b1520a9cb4e4d122d6549d4e1 100644
--- a/dumpstate.te
+++ b/dumpstate.te
@@ -68,3 +68,8 @@ binder_call(dumpstate, appdomain)
 
 # Reading /proc/PID/maps of other processes
 allow dumpstate self:capability sys_ptrace;
+
+# Allow the bugreport service to create a file in
+# /data/data/com.android.shell/files/bugreports/bugreport
+allow dumpstate shell_data_file:dir rw_dir_perms;
+allow dumpstate shell_data_file:file create_file_perms;