小编jjk*_*jkl的帖子

尝试在 Homebrew 上运行 postgresql 时出现权限被拒绝错误

我跑了brew install postgresql

  1. 然后brew services start postgresql

已收到 Error: Permission denied @ apply2files - /Users/$USER/Library/LaunchAgents/homebrew.mxcl.postgresql.plist

  1. chmod 755 ~/Library/LaunchAgents并且 cp /usr/local/opt/postgresql/homebrew.mxcl.postgresql.plist ~/Library/LaunchAgents/(来自https://coreyward.svbtle.com/fixing-homebrew-postgres-installation-on-macos-catalina

这给了我Error: Permission denied @ rb_sysopen - /Users/$USER/Library/LaunchAgents/homebrew.mxcl.postgresql.plist

  1. 我从这个线程https://gist.github.com/irazasyed/7732946尝试了各种事情,但没有成功。

我对 Homebrew 不太熟悉,想知道如何解决这个问题。谢谢!

postgresql homebrew

5
推荐指数
1
解决办法
5346
查看次数

标签 统计

homebrew ×1

postgresql ×1