lammps-graphene/scripts/util/fix_perms.sh

8 lines
261 B
Bash
Raw Normal View History

2020-12-23 22:12:07 +00:00
#!/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 \{\} \;