Reputation: 33
I am installing the searchkick gem to enable search capacilities on my application, but when running brew services start opensearch
to start opensearch I get the following error: Error: Permission denied @ rb_sysopen - /Users//Library/LaunchAgents/homebrew.mxcl.opensearch.plist.
I have tried this line of code: sudo chown -R "$*<My-Username>*":admin /Library/LaunchAgents/
(source), but it did not work.
Could someone help me with this?
I am using a mac with an intel processor (i5)
Upvotes: 0
Views: 623
Reputation: 33
sudo chmod a+rw /Users/USERNAME/Library/LaunchAgents
fixed the issue for me!
Source of code
Upvotes: 1