3 # fixes the permissions of files in the local games directory so that
4 # everyone can run or read them if the owner could.
6 sudo find /home/games -type f -perm /100 -exec chmod a+x {} ';'
7 sudo find /home/games -type f -perm /400 -exec chmod a+r {} ';'
9 sudo find /home/games -type d -exec chmod a+rx {} ';'