I'm having trouble pulling the whole file directory from a rooted android device with ADB. There are special permissions errors. So I thought a solution would be to chmod everything so the ADB daemon effectively runs with root permissions (can't run it with root permissions directly). Then possibly chmod everything back to the way it was after I've pulled all the files with
Are there any risks involved with this approach? What about not changing the permissions back to normal? While my case is specific to android I'd be interested to hear any difference for normal linux systems.