Reset the permissions of /usr/local and Homebrew’s caches to the current user:
Hey guys, Are you trying to install redis on your Mac and you are running into a permission error? if so, this tutorial is for you. if not just take a glass of water and archive it, you might need it someday.
In this tutorial Valentine E. Abako is trying to start redis service using homebrew on his mac, but he has encounter an error due to permission issues.
The screenshot below will only occur when redis is not in the current user directory.

How to solve the redis permission issue on Mac.
run the following on the terminal (Mac users only).
sudo chown -R $USER:admin /usr/local /Library/Caches/Homebrew
Redis should be on the current user directory now. if you are able to see the screen below then you are fine now.

yesssss…..we are fine now.
Start Redis services using brew
Please run the following command in the terminal.
brew services start redis
Test redis if it running
redis-cli ping
You should see a PONG on your terminal. once seen You are fine.
