Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make cache clearing robust to directories without read permissions (#…
…3524) ## Summary If you run the script included in the linked issue, then `uv cache clean`, we hit permissions errors on certain directories created by `setuptools`. The permissions on those directories look like: ``` ❯ sudo ls -l /Users/crmarsh/Library/Caches/uv/built-wheels-v3/pypi/opentracing/2.4.0/M-fYsaHAaQQvedmPMUl9D/opentracing-2.4.0.tar.gz/build/bdist.macosx-14.2-arm64/wheel/opentracing Password: total 0 drwxr-xr-x 3 crmarsh staff 96 May 11 12:51 harness ``` This PR adds logic to make those directories readable by the current user. Closes #3515.
- Loading branch information
1 parent
df43dc9
commit 3b728c1
Showing
1 changed file
with
89 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters