Remove executable permissions from more non-script sources, and send a PR upstream

This commit is contained in:
Benjamin A. Beasley 2021-08-20 12:18:11 -04:00
parent 73418cac4f
commit 7307de30c3

View File

@ -630,8 +630,10 @@ rm -rvf third_party/xxhash
# https://github.com/grpc/grpc/issues/25945.
echo '===== Fixing permissions =====' 2>&1
# Fix some of the weirdest accidentally-executable files
find . -type f -name '*.md' -perm /0111 -execdir chmod -v a-x '{}' '+'
# https://github.com/grpc/grpc/pull/27069
find . -type f -perm /0111 \
-exec gawk '!/^#!/ { print FILENAME }; { nextfile }' '{}' '+' |
xargs -r chmod -v a-x
echo '===== Loosening version specifications =====' 2>&1
# Allow building Python documentation with a newer Sphinx; the upstream version