[Errno 13] Permission denied when installing wheel with non-read permissions
I stumble on this error while trying to install `pydantic-ai` with `ag-ui-protocol`. I use pants, but scoped down the error to pex.
Easy repro on my system:
```
$ pex --version
2.91.2
$ pex 'ag-ui-protocol==0.1.14'
[Errno 13] Permission denied: '/$CACHE_DIR/pex/installed_wheels/2/ec072e6a45e0d45b8714e6d54919cc9bde3d097fdc36f7e82953b2f21f1cdbef/ag_ui_protocol-0.1.14-py3-none-any.whl.85e7a91e36d6466c9ea4f58197da36d2.work/ag_ui_protocol-0.1.14.dist-info/RECORD'
$ ls -al /$CACHE_DIR/pex/installed_wheels/2/ec072e6a45e0d45b8714e6d54919cc9bde3d097fdc36f7e82953b2f21f1cdbef/ag_ui_protocol-0.1.14-py3-none-any.whl.85e7a91e36d6466c9ea4f58197da36d2.work/ag_ui_protocol-0.1.14.dist-info/RECORD
--w--wx--- 1 user user 952 Mar 19 13:46 /$CACHE_DIR/pex/installed_wheels/2/ec072e6a45e0d45b8714e6d54919cc9bde3d097fdc36f7e82953b2f21f1cdbef/ag_ui_protocol-0.1.14-py3-none-any.whl.85e7a91e36d6466c9ea4f58197da36d2.work/ag_ui_protocol-0.1.14.dist-info/RECORD
```
9 条评论