uv
750b3a7c - Avoid setting executable permissions on files we might not own (#5582)

Commit
1 year ago
Avoid setting executable permissions on files we might not own (#5582) ## Summary If we just created an entrypoint script, we can of course set the permissions (we just created it). However, if we're copying from the cache, we might _not_ own the file. In that case, if we need to change the permissions (we shouldn't, since the script is likely already executable -- we set the permissions when we unzip, but I guess they could _not_ be properly set in the zip itself), we have to copy it. Closes https://github.com/astral-sh/uv/issues/5581.
Author
Parents
Loading