Skip to content
Snippets Groups Projects
Commit aa0a2214 authored by Dominyk Tiller's avatar Dominyk Tiller
Browse files

brew: tighten sudo checks


`reinstall` can currently be executed under sudo and has every chunk of problems
running install under sudo does when `brew` isn't root owned.

Likewise with `postinstall` which we increasingly use to create directories and
move/install files elsewhere. Using sudo there both masks deeper issues and
makes uninstall troublesome.

Closes Homebrew/homebrew#45112.

Signed-off-by: default avatarDominyk Tiller <dominyktiller@gmail.com>
parent b743cadd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment