4cf49d94449707d1e382f7a1d4e6dfd0282a9b45
[feisty_meow.git] / scripts / files / fix_game_perms.sh
1 #!/bin/bash
2
3 # fixes the permissions of files in the local games directory so that
4 # everyone can run or read them if the owner could.
5
6 find /home/games -type f -perm /100 -exec chmod a+x {} ';'
7 find /home/games -type f -perm /400 -exec chmod a+r {} ';'
8