Also chown cmd

This commit is contained in:
Pierre-Hugues Husson 2019-08-14 23:35:36 +02:00
parent 7508b08c11
commit 9b00a5140f

View File

@ -354,8 +354,7 @@ if getprop ro.vendor.build.fingerprint | grep -qiE '^samsung/' && [ "$vndk" -ge
chcon u:object_r:sysfs_ss_writable:s0 /sys/class/sec/tsp/ear_detect_enable
chown system /sys/class/sec/tsp/ear_detect_enable
chcon u:object_r:sysfs_ss_writable:s0 /sys/class/sec/tsp/cmd
chcon u:object_r:sysfs_ss_writable:s0 /sys/class/sec/tsp/cmd_{list,result,status}
chown system /sys/class/sec/tsp/cmd_{list,result,status}
chcon u:object_r:sysfs_ss_writable:s0 /sys/class/sec/tsp/cmd{,_list,_result,_status}
chown system /sys/class/sec/tsp/cmd{,_list,_result,_status}
fi
fi