cool-easter-32542
05/09/2024, 1:10 PM2.19.0
OS
Only verified on MacOS so far
Additional info
shell_sources(name="files")
run_shell_command(
name="test",
command="ls -lah {chroot}/*",
execution_dependencies=[":files"],
)
touch foo.sh
pants run :test
outputs -rw-r--r--
chmod +x foo.sh
pants run :test
outputs -rw-r--r-- !!!!
if you kill pantsd, or use --no-pantsd then you’ll see the correct permissions -rwxr-xr-x
https://pantsbuild.slack.com/archives/C046T6T9U/p1715225535806319
pantsbuild/pants