mirror of https://github.com/pypa/pip
Set permission on manually created metadata files
This commit is contained in:
parent
9af0b3daeb
commit
f1977cfa5f
|
@ -572,6 +572,7 @@ def install_unpacked_wheel(
|
|||
# type: (str, **Any) -> Iterator[NamedTemporaryFileResult]
|
||||
with adjacent_tmp_file(path, **kwargs) as f:
|
||||
yield f
|
||||
os.chmod(f.name, 0o644)
|
||||
replace(f.name, path)
|
||||
|
||||
# Record pip as the installer
|
||||
|
|
Loading…
Reference in New Issue