On May 1, 8:06 am, mathias axelsson <[email protected]> wrote: > When running 'su', in terminal, I get 'uid XXXXX not allowed to su'. > 'logcat' gives permission denied /dev/log/main.
To avoid creating a situation where an app could run "su" and do dastardly deeds, an explicit userid check was added to "su". You need to be in an adb shell. If this is inconvenient, you can create an unrestricted "su" replacement. One approach is to make a copy of the shell and chmod/ chown it to setuid root. This creates a security hole -- something could scan your phone for setuid binaries and speculatively execute them looking for root shells -- but it's no worse than the previous "su" binary. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

