Update put-tools-in-tv.sh

Add fix permission function