Files
Strata/bin
吴佳浩Alben c6903e9988 launcher: start the bundled runtime when access(X_OK) is denied (#4312 #4309)
In the Docker image under Docker 19.03.15's default seccomp profile `[ -x
python3 ]` answers false for the bundled interpreter that the shell can still
run, so bin/strata skipped it and said "no usable Python found", and the
entrypoint fell back to another python3. When the permission test says no,
both now ask the interpreter itself (`python -c pass`); a directory or a file
that does not run is still refused.

Cherry-picked from PR #4312 (4be7c731e) without its mode change (the PR set
both scripts to 100644; they stay 100755). tests/terminal/test_launcher_runnable.py
runs the helper of each script on its own (a directory, a non-program, a
missing file, a real interpreter); with tools/test_docker_entrypoint.py and the
install/launcher tests 41 passed on p2003. The seccomp case itself needs that
Docker and is not reproduced.
2026-11-16 16:04:17 +01:00
..