diff --git a/init.te b/init.te index 634272131785c0109b81ebe1fe675a5feba460c6..1283ec70938c08d1b49df9efb617782320407e09 100644 --- a/init.te +++ b/init.te @@ -91,7 +91,8 @@ allow init dev_type:dir create_dir_perms; allow init dev_type:lnk_file create; # chown/chmod on pseudo files. -allow init { fs_type -contextmount_type -sdcard_type -rootfs }:{ dir file } { open read setattr }; +allow init { fs_type -contextmount_type -sdcard_type -rootfs }:file { open read setattr }; +allow init { fs_type -contextmount_type -sdcard_type -rootfs }:dir { open read setattr search }; # chown/chmod on devices. allow init { dev_type -kmem_device }:chr_file { read open setattr };