X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Ffiles%2Ffix_game_perms.sh;h=4dd7a913fab1d00f79b9dee54b759cdbca742afd;hb=aab3d5746e13a49520cb5fb698e873f89d5666c2;hp=5bcdf5ff7280ff8e4977311a3cfaec32ac5796ef;hpb=2952ccf47b80174880141a7ecfa122089f349b8d;p=feisty_meow.git diff --git a/scripts/files/fix_game_perms.sh b/scripts/files/fix_game_perms.sh index 5bcdf5ff..4dd7a913 100644 --- a/scripts/files/fix_game_perms.sh +++ b/scripts/files/fix_game_perms.sh @@ -3,6 +3,8 @@ # fixes the permissions of files in the local games directory so that # everyone can run or read them if the owner could. -find /usr/local/games -type f -perm /100 -exec chmod a+x {} ';' -find /usr/local/games -type f -perm /400 -exec chmod a+r {} ';' +find /home/games -type f -perm /100 -exec chmod a+x {} ';' +find /home/games -type f -perm /400 -exec chmod a+r {} ';' + +find /home/games -type d -exec chmod a+rx {} ';'