-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Area-ExternalIssue outside of winget-cli sourceIssue outside of winget-cli sourceIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.
Milestone
Description
Brief description of your issue
Whenever you run an winget install from bash from git for windows, it always gives a message such as the following. Note: Tried this in Windows Terminal and Git for Windows bash terminal (Mingw64) and it had the same effect. Both times running as admin.
$ winget install powertoys
bash: /c/Users/.../AppData/Local/Microsoft/WindowsApps/winget: Permission deniedInterestingly enough, running it from cmd seems to work.
Steps to reproduce
- Install winget.
- Open up a bash terminal in Windows Terminal as admin
- Run
winget install powertoys
Note: Running any other command such as winget --version also gives a permission denied error.
Expected behavior
Installs powertoys package
Actual behavior
Permission denied
Environment
Even running winget --version gives a permission denied error.
[winget --info]
Windows Package Manager v0.1.41331 Preview
Windows: Windows.Desktop v10.0.18362.836
Package: Microsoft.DesktopAppInstaller v1.0.41331.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area-ExternalIssue outside of winget-cli sourceIssue outside of winget-cli sourceIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.