diff --git a/find_broken_perms.sh b/find_broken_perms.sh new file mode 100755 index 000000000..18e77bbac --- /dev/null +++ b/find_broken_perms.sh @@ -0,0 +1,2 @@ +find release/linux-unpacked -type d -not -perm 755 -o -type f -not -perm 644 | xargs stat +find release/win-unpacked -type d -not -perm 755 -o -type f -not -perm 644 | xargs stat diff --git a/fix_broken_perms.sh b/fix_broken_perms.sh new file mode 100755 index 000000000..28cb37da9 --- /dev/null +++ b/fix_broken_perms.sh @@ -0,0 +1,5 @@ +set -e +find release/linux-unpacked -type d | xargs chmod 755 +find release/linux-unpacked -type f | xargs chmod 644 +find release/win-unpacked -type d | xargs chmod 755 +find release/win-unpacked -type f | xargs chmod 644