"Permission denied" Error Message when running brew services start/restart httpd #538
-
Hi, I want to set up an Apache server. I had to previously debug my HomeBrew after I made the Big Sur update. "Error: Permission denied @ rb_sysopen - /Users/laurencereeds/Library/LaunchAgents/homebrew.mxcl.httpd.plist" I have tried : sudo chmod -R g+w /Library/Caches/Homebrew sudo chown -R ${USER} /Library/Caches/Homebrew/ sudo chown -R $(whoami) /usr/local/* Can anyone please shed some light on what is happening? And what I should do? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You seem to have tried to run |
Beta Was this translation helpful? Give feedback.
You seem to have tried to run
sudo brew services start httpd
, you'll need to runsudo brew services stop httpd
and then the start command again to restart apache.