lammps-graphene/scripts/util/fix_perms.sh
2020-12-23 17:12:07 -05:00

8 lines
261 B
Bash
Executable File

#!/bin/bash
find . -type 'f' -exec chmod 600 \{\} \;
find . -type 'f' -name '*.sh' -exec chmod 700 \{\} \;
find . -type 'f' -name '*.sub' -exec chmod 700 \{\} \;
find . -type 'f' -path '*/bin/*' -exec chmod 700 \{\} \;
find . -type 'd' -exec chmod 700 \{\} \;