Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add new First Aid option: Fix Homebrew Permissions #86

Closed
nicoverbruggen opened this issue Jan 24, 2022 · 1 comment
Closed

Add new First Aid option: Fix Homebrew Permissions #86

nicoverbruggen opened this issue Jan 24, 2022 · 1 comment
Assignees
Labels
fixed in upcoming release Fixed in the upcoming release! implemented & available via early access Available in Early Access preview for sponsors.
Milestone

Comments

@nicoverbruggen
Copy link
Owner

Where should this be located?

First Aid & Services > First Aid > Fix Homebrew Permissions

Why do this?

See #85.

What should happen?

  • Turn off all services first
  • Open terminal with pre-filled command to take ownership of folders
  • Profit! User can now run brew update && brew upgrade / brew cleanup without worries about permissions
@nicoverbruggen nicoverbruggen added the enhancement New feature or request. label Jan 24, 2022
@nicoverbruggen nicoverbruggen added this to the v5.0 milestone Jan 24, 2022
@nicoverbruggen nicoverbruggen self-assigned this Jan 24, 2022
@nicoverbruggen
Copy link
Owner Author

The folders that need to be owned for each PHP formula (by user/wheel):

let directories = [
    "\(brewDir)/Cellar/\(formula)"
    "\(brewDir)/opt/\(formula)"
    "\(brewDir)/var/homebrew/linked/\(formula)"
];

@nicoverbruggen nicoverbruggen modified the milestones: v5.0, v5.1 Jan 29, 2022
@nicoverbruggen nicoverbruggen added implemented & available via early access Available in Early Access preview for sponsors. fixed in upcoming release Fixed in the upcoming release! and removed enhancement New feature or request. labels Feb 6, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
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