-
Notifications
You must be signed in to change notification settings - Fork 907
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
Unable to do non-elevated operations when cachelocation
is set to a restricted directory
#3291
Closed
5 tasks done
Comments
11 tasks
AdmiringWorm
added a commit
to AdmiringWorm/choco
that referenced
this issue
Aug 2, 2023
To fix a bug in licensed extension when downloading packages and the cache location is set to a restricted folder, there was a need to update Chocolatey.NuGet.Client and pull in the changes to Chocolatey CLI. This PR makes the necessary changes for this.
gep13
pushed a commit
to AdmiringWorm/choco
that referenced
this issue
Aug 2, 2023
To fix a bug in licensed extension when downloading packages and the cache location is set to a restricted folder, there was a need to update Chocolatey.NuGet.Client and pull in the changes to Chocolatey CLI. This PR makes the necessary changes for this.
corbob
pushed a commit
to AdmiringWorm/choco
that referenced
this issue
Aug 2, 2023
To fix a bug in licensed extension when downloading packages and the cache location is set to a restricted folder, there was a need to update Chocolatey.NuGet.Client and pull in the changes to Chocolatey CLI. This PR makes the necessary changes for this.
corbob
added a commit
that referenced
this issue
Aug 2, 2023
(#3291) Update Chocolatey.NuGet.Client libraries to 3.4.2
gep13
changed the title
Unable to do non-elevated operations when cache location is set to restricted directory
Unable to do non-elevated operations when Aug 4, 2023
cachelocation
is set to a restricted directory
🎉 This issue has been resolved in version 2.2.1 🎉 The release is available on: Your GitReleaseManager bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Checklist
What You Are Seeing?
When running
choco download
, you get failures unless you are elevated - even thoughchoco download
should work as a normal user.This also affects installations if the Chocolatey Install location is a non-restricted folder, but the cache folder is in a restricted folder.
What is Expected?
choco download
should work regardless of elevation state.How Did You Get This To Happen?
On a system with:
choco config set cacheLocation --value $env:ChocolateyInstall\choco-cache; choco search cloudflared
)choco download nexus-repository
Additionally, when running
choco download
with a cacheLocation that doesn't exist, there is a different bad error.choco config set cacheLocation --value $env:ChocolateyInstall\choco-cache2
)choco download nexus-repository
System Details
Installed Packages
Output Log
Available in private issue
Additional Context
While this in most cases affecting licensed customers, the fix is needed to be for Chocolatey NuGet Client and Chocolatey CLI.
The text was updated successfully, but these errors were encountered: