fixing directories too.
[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
9 find /home/games -type d -exec chmod a+rx {} ';'
10