Why does adb shell have higher permissions than common terminal applications? For example you can write to /data/local/tmp with adb shell but not a common terminal application. Why is that?
In short, a normal terminal application runs with "normal user" privileges. ADB shell is designed for debugging purposes, so it has more privileges.