-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
choco install python gets message: Access to the path 'C:\WINDOWS\system32\**\**.exe.ignore' is denied. #249
Comments
If there's something somewhere that checks for the presence of a .ignore file for every executable, that seems fragile and broken. |
Shim generation, a tool that puts executables on the PATH without cluttering the PATH automatically, inspects a package for executables. It also looks for shim director files such as .ignore files and .gui files to tell it to ignore. The process of doing this has been around for 5 years (pretty much all of Chocolatey's existence), which is no more fragile than finding the chocolateyInstall.ps1/chocolateyUninstall.ps1 file in the package to run. What it seems to me is what is fragile is how this package goes about creating these ignore files (instead of just placing files in the package ahead of time like most others do). Especially since the package is having the issue (and creating ignore files is not required) and not Chocolatey itself. |
Note that Chocolatey inspects package contents _only_, not the entire system. I'm not sure what was meant by your comment @DHowett (whole system or just local search). |
@ferventcoder Sorry, my comment stemmed from a misunderstanding of what's going on. I didn't intend to cast aspersions over Chocolatey. |
@DHowett I had to look up that word :D |
I fixed this is in 3.5.1.20161002 (which should be up for approval soon) - #303 has the ultimate fixes for this though. |
While running
choco install python
in Windows 10, I got following message:The text was updated successfully, but these errors were encountered: