Add two scripts to handle broken permissions in release dir
FREEBIE
This commit is contained in:
parent
0c4161e5a3
commit
bf99c90007
2 changed files with 7 additions and 0 deletions
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
|
Loading…
Reference in a new issue