当前位置: 代码迷 >> 综合 >> /usr/local/share/fish/vendor_completions.d is not writable
  详细解决方案

/usr/local/share/fish/vendor_completions.d is not writable

热度:49   发布时间:2024-02-07 19:11:46.0

在执行brew link carthage时,报错 如下

Linking /usr/local/Cellar/carthage/0.35.0... 
Error: Could not symlink share/fish/vendor_completions.d/carthage.fish
/usr/local/share/fish/vendor_completions.d is not writable.

解决办法:
1.

sudo chown -R $(whoami) /usr/local/share/fish/vendor_completions.d
sudo chmod u+rw /usr/local/share/fish/vendor_completions.d

再执行brew link carthage即可

  相关解决方案