conda-forge / miniforge

A conda-forge distribution.
https://conda-forge.org/miniforge
Other
6.14k stars 318 forks source link

Elevation needed on windows for PIP due to incorrect ACLs on files after install #390

Open MarcoVanDenHout opened 1 year ago

MarcoVanDenHout commented 1 year ago

Solution to issue cannot be found in the documentation.

Issue

After installing Miniforge the files .\scripts\pip.exe, .\scripts\pip3.exe and .\scripts\normalizer.exe have different NTFS security settings. As a result PIP always needs an elevated prompt to execute. Once the NTFS settings are 'reset' to the default values, like all other files in the Miniforge folders, PIP seems to work properly without elevation.

Is there a reason for these different security settings on these 3 files?

Installed packages

This is just the default installation.

Environment info

Windows install x64, W10/W11