Skip to content
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

Homebrew detection via sudoers.d does not allow for /usr/local/homebrew/bin/xxx path to be valid (x86 only) #251

Closed
nicoverbruggen opened this issue May 17, 2023 · 0 comments
Assignees
Labels
bug Something isn't working (correctly). fixed in upcoming release Fixed in the upcoming release! implemented & available via early access Available in Early Access preview for sponsors.

Comments

@nicoverbruggen
Copy link
Owner

nicoverbruggen commented May 17, 2023

It is possible that the Homebrew binary which is linked at /usr/local/bin/brew is also located at /usr/local/homebrew/bin/brew on Intel machines, which may cause the app not to boot correctly.

On Intel machines, this additional location should also be valid for the sudoers.d/brew entry.

This also applies to the valet entry, by the way.

@nicoverbruggen nicoverbruggen added the bug Something isn't working (correctly). label May 17, 2023
@nicoverbruggen nicoverbruggen self-assigned this May 17, 2023
@nicoverbruggen nicoverbruggen changed the title x86 Homebrew detection via sudoers.d/brew does not allow for /usr/local/homebrew/bin/brew path to be valid Homebrew detection via sudoers.d does not allow for /usr/local/homebrew/bin/xxx path to be valid (x86 only) May 17, 2023
nicoverbruggen added a commit that referenced this issue May 17, 2023
For this to work, Homebrew cannot be installed in /usr/local, which
means that the /usr/local/Cellar folder will be missing and the folder
/usr/local/homebrew will exist.
@nicoverbruggen nicoverbruggen added fixed in upcoming release Fixed in the upcoming release! implemented & available via early access Available in Early Access preview for sponsors. labels May 17, 2023
nicoverbruggen added a commit that referenced this issue May 22, 2023
For this to work, Homebrew cannot be installed in /usr/local, which
means that the /usr/local/Cellar folder will be missing and the folder
/usr/local/homebrew will exist.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working (correctly). fixed in upcoming release Fixed in the upcoming release! implemented & available via early access Available in Early Access preview for sponsors.
Projects
None yet
Development

No branches or pull requests

1 participant