Open miklelappo opened 1 month ago
Also the files inside. This one looks correct:
ls -la ~/.cache/bazel/_bazel_mlappo/3c5c24edab0df70f75e12e6adf52c6d8/external/rules_python\~\~python\~python_3_11_x86_64-unknown-linux-gnu/bin/python3.11
-rwxrwxr-x 1 mlappo mlappo 20944 Jan 1 2024 /home/mlappo/.cache/bazel/_bazel_mlappo/3c5c24edab0df70f75e12e6adf52c6d8/external/rules_python~~python~python_3_11_x86_64-unknown-linux-gnu/bin/python3.11
While this one doesn't
ls -la ~/.cache/bazel/_bazel_mlappo/3c5c24edab0df70f75e12e6adf52c6d8/external/rules_python\~\~python\~python_3_11_x86_64-unknown-linux-gnu/lib/libpython3.so
-r-xr-xr-x 1 mlappo mlappo 16800 Jan 1 2024 /home/mlappo/.cache/bazel/_bazel_mlappo/3c5c24edab0df70f75e12e6adf52c6d8/external/rules_python~~python~python_3_11_x86_64-unknown-linux-gnu/lib/libpython3.so
This is a feature and is currently discussed in #2016 and the associated issue.
@aignas does that mean that read-only-executable permissions only on some files/folders are expected?
π bug report
Affected Rule
I guess bootstrap python
dr-xr-xr-x 10 mlappo mlappo 4096 Jul 8 21:34 lib
Is this a regression?
Don't know
Description
Specified directory and shared object are marked as read-only for current user (user performed the build)
π¬ Minimal Reproduction
bazel build //...
with having i.e. wheel creationπ Your Environment
Operating System:
Output of
bazel version
:Rules_python version:
Anything else relevant?