uv/crates/install-wheel-rs/src
Charlie Marsh 750b3a7c8c
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.
2024-07-30 12:32:52 +00:00
..
lib.rs feat(venv): add relocatable flag (#5515) 2024-07-29 00:10:11 +00:00
linker.rs Avoid setting executable permissions on files we might not own (#5582) 2024-07-30 12:32:52 +00:00
metadata.rs Use existing METADATA parser in wheel installer (#5508) 2024-07-27 14:38:16 -04:00
record.rs Respect data scripts in uv tool install (#4693) 2024-07-01 12:22:37 -04:00
script.rs Upgrade to Rust 1.80.0 (#5472) 2024-07-27 01:49:47 +00:00
uninstall.rs Upgrade to Rust 1.80.0 (#5472) 2024-07-27 01:49:47 +00:00
wheel.rs Avoid setting executable permissions on files we might not own (#5582) 2024-07-30 12:32:52 +00:00