test.sh perm