allow adb push to create directories.

Addresses the following denial:

  type=1400 audit(0.0:24): avc: denied { create } for comm="adbd" name="md5sum" scontext=u:r:adbd:s0 tcontext=u:object_r:shell_data_file:s0 tclass=dir

Change-Id: Ibb1708af85b2235cbad2794993cfeef896f8db4a
This commit is contained in:
Nick Kralevich 2014-06-08 13:47:33 -07:00
parent 90cb59fd51
commit 98b7ab5396

View file

@ -32,7 +32,7 @@ allow adbd functionfs:file rw_file_perms;
allow adbd devpts:chr_file rw_file_perms; allow adbd devpts:chr_file rw_file_perms;
# adb push/pull /data/local/tmp. # adb push/pull /data/local/tmp.
allow adbd shell_data_file:dir rw_dir_perms; allow adbd shell_data_file:dir create_dir_perms;
allow adbd shell_data_file:file create_file_perms; allow adbd shell_data_file:file create_file_perms;
# adb push/pull sdcard. # adb push/pull sdcard.