fresh-mechanic-68429
05/09/2024, 3:32 AMtouch foo.sh
shell_sources(name="files")
run_shell_command(
name="test",
command="ls -lah {chroot}/*",
execution_dependencies=[":files"],
)
running this target pants run :test
returns the permissions like -rw-r--r--
now fix the permissions chmod +x foo.sh
and run pants run :test
again, its still -rw-r--r--
!!!
if you kill pantsd, or use --no-pantsd
then you’ll see the correct -rwxr-xr-x
fresh-mechanic-68429
05/09/2024, 3:32 AM2.19.0
if it mattersbroad-processor-92400
05/09/2024, 9:06 AMfresh-mechanic-68429
05/09/2024, 1:10 PM