#6988: [orbot] Orbot relies on "which" to find the "su" binary.
-----------------------------------+----------------------------------------
Reporter: MSal | Owner: n8fr8
Type: defect | Status: new
Priority: normal | Milestone:
Component: Orbot | Version:
Keywords: su root busybox which | Parent:
Points: | Actualpoints:
-----------------------------------+----------------------------------------
On a stock system without busybox, requesting root access fails because
"which"(a part of busybox) is not available.
D/Orbot (12049): executing shell cmds: which su;
runAsRoot=false;waitFor=true
D/Orbot (12049): Could not acquire root permissions
############
% adb shell
shell@android:/ $ which which
/system/bin/sh: which: not found
127|shell@android:/ $su
shell@android:/ # echo -e '#!/system/bin/sh\necho /system/xbin/su' >
/system/xbin/which
shell@android:/ # chmod 755 /system/xbin/which
shell@android:/ # which
/system/xbin/su
############
After that. It works.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6988>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs