diff --git a/procrank.te b/procrank.te
index 680d5490b288bcb84acc36c36a7fe1a7fea12051..1aaaad092a33dc48f9bcdb001e97d956b0caff86 100644
--- a/procrank.te
+++ b/procrank.te
@@ -12,4 +12,6 @@ userdebug_or_eng(`
   r_dir_file(procrank, domain)
   allow procrank { shell dumpstate }:fd use;
   allow procrank adbd:process sigchld;
+  # allow procrank write to bugreport.
+  allow procrank shell_data_file:file w_file_perms;
 ')