-
Notifications
You must be signed in to change notification settings - Fork 905
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
Enhance "Access to path is denied" message on no admin rights #177
Comments
Are you using choco 0.9.9? It does actually say this if you are an administrative user in a non-elevated shell. However the detection is not 100%. I'd be interested to know where you may fall with this. |
Ehm... Wait, I see, its printed there in green. I am used to just read red error messages :D |
Any color you would prefer there? Perhaps magenta for the warnings? |
I am used to red for errors but there are a lot of colors... ;) |
Let's go warning ? |
In some cases the message related to non-elevated shells will come through, except when using blended options. Also, just an informative message is not enough to let folks know they may need to do something. Beef up the message a bit and give it a nice dark warning.
It is actually good, that chocolatey doesn't spam you with warnings if you don't have admin rights. Very useful if you intend to use it without.
But if there are no admin rights the message that a path wasn't accesable should be enhanced with something like:
I am not to happy with this text but something like that should be pretty useful. Needed yesterday 10 minutes until I saw that my shell wasn't elevated.
The text was updated successfully, but these errors were encountered: