Android adb shell ping - This version of ping should NOT run with privileges. Aborting

StackOverflow https://stackoverflow.com/questions/23633527

  •  21-07-2023
  •  | 
  •  

Вопрос

I am trying to perform a ping via adb shell on a Galaxy S5. I am able to perform this same ping command without issue on a Galaxy S4. Does anyone know how to bypass this? "This version of ping should NOT run with privileges. Aborting"

Ping commands:

adb shell
ping www.google.com
Это было полезно?

Решение

Change the permission of the ping(a file in /system/bin/) from rwsr-xr-x to rwxr-xr-x, it's done!

Другие советы

If "root", run ping as "net_raw" user:

su net_raw
ping www.google.com
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top