MacOS Homebrew 安装‘Permission denied’权限修复

错误:
/opt/homebrew/Library/Taps/homebrew/homebrew-core/.git: Permission denied

==> Tapping homebrew/cask fatal: could not create work tree dir ‘/opt/homebrew/Library/Taps/homebrew/homebrew-cask’: Permission denied

解决命令:

sudo chgrp -R admin /opt/homebrew

sudo chmod -R g+w /opt/homebrew

如若转载,请注明出处:https://www.ouq.net/macos-homebrew-%e5%ae%89%e8%a3%85permission-denied%e6%9d%83%e9%99%90%e4%bf%ae%e5%a4%8d.html

(0)
打赏 微信打赏,为服务器增加50M流量 微信打赏,为服务器增加50M流量 支付宝打赏,为服务器增加50M流量 支付宝打赏,为服务器增加50M流量
上一篇 11/25/2023
下一篇 11/25/2023

相关推荐