Lost permissions to execute

Description of the problem

I am using pyspark in my project and want to import pyspark using rules_python.

Here is my requirements.txt:
py4j==0.10.4
pyspark==2.2.0.post0

After bazel build, I found in ~/.cache/bazel/_bazel_xxx/xxxxx/external/pypi__pyspark_2_2_0/pyspark/bin and all files lost execute permission.

Environment info

  • Operating System
    Ubuntu 16.04 LTS