adb devices no permissions

When adb devices replies : no permission, just run the following commands:


sudo chown root:`whoami` `which adb`

sudo chmod 4550 `which adb`

adb kill-server

adb devices

reference: http://stackoverflow.com/questions/14460656/android-debug-bridge-adb-device-no-permissions