今天在mac上装mongodb,发现提示权限不足问题,错误提示如下:

 

mac,/usr/local is not writable 解决方法

mac安装mongodb错误提示.jpg

 

尝试使用提示的命令进行操作,发现无效。后来在百度上找,无果。。。
想起我专门充钱开了一个lantern(VPN)的会员,开启vpn,打开我大google,直接搜索,第一个搜索结果就是我想要的答案。
解决方法:
收入命令:


sudo chown -R $(whoami):admin /usr/local

详情可参考文章:点击查看

顺便推广下lantern,FQ神器,你如果充会员,可以用我的推荐码:
L88X3V

 

mac,/usr/local is not writable 解决方法

lantern推荐码.jpg

 

相关文章:

  • 2022-12-23
  • 2021-09-04
  • 2021-10-01
  • 2021-09-08
  • 2022-12-23
  • 2021-11-17
  • 2022-01-21
  • 2021-06-26
猜你喜欢
  • 2022-12-23
  • 2021-07-17
  • 2022-01-15
  • 2022-12-23
  • 2021-12-31
  • 2021-09-01
  • 2022-02-02
相关资源
相似解决方案