When running libc++ tests on a remote machine via SSH, we can encounter
a 'Permission denied' error.
Fix this with plain old 'chmod +x <executable>'.
Differential D69170
[libcxx] [test] Run `chmod +x` on executables when testing via SSH broadwaylamb on Oct 18 2019, 8:10 AM. Authored by
Details When running libc++ tests on a remote machine via SSH, we can encounter Fix this with plain old 'chmod +x <executable>'.
Diff Detail
Event Timeline
Comment Actions Use export instead of env for setting execution environment in SSHExecutor. This is safe, because the exported environment can't outlive the SSH session, which itself is alive only within the _execute_command_remote method. Comment Actions LGTM with the requested change.
|
Do I understand correctly: the problem is that files are created on Windows and then scp'd to Linux, but there is no executable bit set on Windows so the files arrive on Linux as not executable?