projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tasty renamings
[feisty_meow.git]
/
scripts
/
files
/
fix_game_perms.sh
diff --git
a/scripts/files/fix_game_perms.sh
b/scripts/files/fix_game_perms.sh
index 4dd7a913fab1d00f79b9dee54b759cdbca742afd..9d21480842daa73cd5032e2dfe4dc7b267eabd3c 100644
(file)
--- a/
scripts/files/fix_game_perms.sh
+++ b/
scripts/files/fix_game_perms.sh
@@
-3,8
+3,8
@@
# fixes the permissions of files in the local games directory so that
# everyone can run or read them if the owner could.
# fixes the permissions of files in the local games directory so that
# everyone can run or read them if the owner could.
-find /home/games -type f -perm /100 -exec chmod a+x {} ';'
-find /home/games -type f -perm /400 -exec chmod a+r {} ';'
+
sudo
find /home/games -type f -perm /100 -exec chmod a+x {} ';'
+
sudo
find /home/games -type f -perm /400 -exec chmod a+r {} ';'
-find /home/games -type d -exec chmod a+rx {} ';'
+
sudo
find /home/games -type d -exec chmod a+rx {} ';'