0

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)

jimW
  • 23
  • 5

1 Answers1

0

sudo chmod a+rw /Users/USERNAME/Library/LaunchAgents fixed the issue for me! Source of code

jimW
  • 23
  • 5