AnsweredAssumed Answered

Out/Target/product/sabresd_6dq/System/bin - Permission Denied in Android 7.

Question asked by Thanaraj Subramani on May 8, 2017
Latest reply on May 9, 2017 by jimmychan

Hi All,


   I had compiled Android 7 Source code and checking the Wi-Fi related functionality. I am not able to access Any system/bin commands [ifconfig,....etc], its throwing error as Permission denied.


root@sabresd_6dq:/system/bin # ifconfig -a                                     
ifconfig: type=1400 audit(811.510:56): avc: denied { net_raw } for pid=1239 comm="ifconfig" capability=13 scontext=u:r:shell:s0 tcontext=u:r:s0
socket 2 0: Permission denied
1|root@sabresd_6dq:/system/bin #


How to change System/bin permission in Android 7 Source?.