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
api: don't download files as root when Homebrew's not owned by root. #14782
api: don't download files as root when Homebrew's not owned by root. #14782
Conversation
This was mentioned in a random comment. While we're here, make some helper functions to query this a bit more nicely elsewhere when we do it.
Review period skipped due to |
Co-authored-by: Bo Anderson <mail@boanderson.me>
This fix may break the use of
|
No, this message only appears if the file doesn't exist in the cache (or is empty). The cache never expires. You can't use sudo for the first time the file is created as it will prevent it being updated when you later don't use sudo. But after the first run the file should stay around permanently. |
I just find out the cause. |
|
How to make this copy? Please help me to fix this, i need it to restart dnscrypt. |
@michael1900 I don't think we encountered the same problem. The current implementation is to download the services api related jws using In my case, I set |
This was mentioned in a random comment. While we're here, make some helper functions to query this a bit more nicely elsewhere when we do it.