adb push permission denied solution

Prerequisite: The phone has root privileges, install RE file manager

 

1. adb shell execute the ls -l command to view the directory permissions

drw-rw-rw- root     root              2017-05-25 08:55 local

2. su execute chmod 777 local

3. Execute the ls -l command to view the directory permissions

drwxrwxrwx root     root              2017-05-25 08:55 local

4、exit

5. Execute adb push successfully

 

D:\Android\sdk\platform-tools>adb push d:/tcpdump /data/local/tcpdump

[100%] /data/local/tcpdump

 

Through the RE file manager, you can see that the tcpdump copy is successful

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326645450&siteId=291194637