C:\Users\Administrator> adb shell su -c "chmod 777 /userdata/add2.sh"

C:\Users\Administrator>adb push D:\adb\add2.sh /userdata/
4 KB/s (390 bytes in 0.092s)

 

adb shell su -c "chown root:root /data/ && chmod 777 /data/"