cool-easter-32542
08/19/2025, 2:24 PMIntrinsicError: Failed to make named cache(s) for local execution: "Failed to create parent directory for named cache in Docker container:\nstdout:\n\nstderr:\nmkdir: cannot create directory ‘/pants-named-caches/python_build_standalone’: Permission denied\n\n"
The ephemeral container pants creates to build this pex using the ubi9 image shows the pants-immuatble-inputs and pants-sandbox are owned by 'default' and pants-named-caches is owned by root.
If I put the container in debug mode and chmod 775 pants-named-caches, the pex_binary build works fine.
I'm not sure what image this person was using, but it looks like there have been a few people running into this in slack: https://pantsbuild.slack.com/archives/C046T6T9U/p1687899481825509
pantsbuild/pants