Add two scripts to handle broken permissions in release dir
FREEBIE
This commit is contained in:
2
find_broken_perms.sh
Executable file
2
find_broken_perms.sh
Executable file
@@ -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
|
5
fix_broken_perms.sh
Executable file
5
fix_broken_perms.sh
Executable file
@@ -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
|
Reference in New Issue
Block a user