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

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

  •  21-07-2023
  •  | 
  •  

Question

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
Était-ce utile?

La solution

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

Autres conseils

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

su net_raw
ping www.google.com
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top