Skip to content
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

Closed
joelhandwell opened this issue Jul 11, 2016 · 6 comments

Comments

@joelhandwell
Copy link

While running choco install python in Windows 10, I got following message:

python3 v3.5.1
WARNING: The names of some imported commands from the module 'chocolateyInstaller' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
Downloading python3 64 bit
  from 'https://www.python.org/ftp/python/3.5.1/python-3.5.1-amd64.exe'
Progress: 100% - Saving 28.25 MB of 28.25 MB (29627072/29627072)
Download of python3Install.exe (28.25 MB) completed.
Installing python3...
python3 has been installed.
Access to the path 'C:\WINDOWS\system32\Boot\winload.exe.ignore' is denied.
Access to the path 'C:\WINDOWS\system32\Boot\winresume.exe.ignore' is denied.
Access to the path 'C:\WINDOWS\system32\DriverStore\FileRepository\64dp4256.inf_amd64_9191bdaf5e95d43e\difx64.exe.ignore' is denied.
Access to the path 'C:\WINDOWS\system32\DriverStore\FileRepository\64dp4256.inf_amd64_9191bdaf5e95d43e\DPTopologyApp.exe.ignore' is denied.
Access to the path 'C:\WINDOWS\system32\DriverStore\FileRepository\64dp4256.inf_amd64_9191bdaf5e95d43e\DPTopologyAppv2_0.exe.ignore' is denied.
Access to the path 'C:\WINDOWS\system32\DriverStore\FileRepository\64dp4256.inf_amd64_9191bdaf5e95d43e\GfxUIEx.exe.ignore' is denied.
Access to the path 'C:\WINDOWS\system32\DriverStore\FileRepository\64dp4256.inf_amd64_9191bdaf5e95d43e\Gfxv2_0.exe.ignore' is denied.
Access to the path 'C:\WINDOWS\system32\DriverStore\FileRepository\64dp4256.inf_amd64_9191bdaf5e95d43e\Gfxv4_0.exe.ignore' is denied.
Access to the path 'C:\WINDOWS\system32\DriverStore\FileRepository\64dp4256.inf_amd64_9191bdaf5e95d43e\igfxCUIService.exe.ignore' is denied.
Access to the path 'C:\WINDOWS\system32\DriverStore\FileRepository\64dp4256.inf_amd64_9191bdaf5e95d43e\igfxEM.exe.ignore' is denied.
Access to the path 'C:\WINDOWS\system32\DriverStore\FileRepository\64dp4256.inf_amd64_9191bdaf5e95d43e\igfxext.exe.ignore' is denied.
Access to the path 'C:\WINDOWS\system32\DriverStore\FileRepository\64dp4256.inf_amd64_9191bdaf5e95d43e\igfxHK.exe.ignore' is denied.
@DHowett
Copy link

DHowett commented Jul 16, 2016

$destinationFolder is empty here, which causes it to spill out into pwd; however, I can't fathom why we need to .ignore every .exe to begin with.

If there's something somewhere that checks for the presence of a .ignore file for every executable, that seems fragile and broken.

@ferventcoder
Copy link
Contributor

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.

@ferventcoder
Copy link
Contributor

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).

@DHowett
Copy link

DHowett commented Jul 19, 2016

@ferventcoder Sorry, my comment stemmed from a misunderstanding of what's going on. I didn't intend to cast aspersions over Chocolatey.

@ferventcoder
Copy link
Contributor

@DHowett I had to look up that word :D

@ferventcoder ferventcoder changed the title Win 10, choco install python gets message: Access to the path 'C:\WINDOWS\system32\**\**.exe.ignore' is denied. choco install python gets message: Access to the path 'C:\WINDOWS\system32\**\**.exe.ignore' is denied. Sep 27, 2016
@ferventcoder
Copy link
Contributor

I fixed this is in 3.5.1.20161002 (which should be up for approval soon) - #303 has the ultimate fixes for this though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants