adb is being ran from windows
What???
.sh means little on linux, the 1st line of a shell script defines how it will execute. Shell script needs +x permission, or at least a 700 if you're in as root.
sh doesn't means "little". Also, You don't need write permissions if You need to execute a script. Only read and execute. If You are real root (uid=0), then You need nothing.